Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set repack-windows drivers default value #833

Merged
merged 1 commit into from
Apr 9, 2024
Merged

Conversation

nanjj
Copy link
Contributor

@nanjj nanjj commented Apr 9, 2024

And make the usage of drivers, windows-version, windows-arch understandable

@nanjj nanjj force-pushed the drivers branch 2 times, most recently from 00b7c18 to acefa88 Compare April 9, 2024 04:22
}

defer f.Close()
c.umounts = append([]string{c.global.sourceDir}, c.umounts...)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c.umounts = append(c.umounts, c.global.sourceDir)

}

c.umounts = append([]string{driverPath}, c.umounts...)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

c.umounts = append(c.umounts, driverPath)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's following the rule that first mounted should be last umounted

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, I see. Your updated way of handling that seems better (process the list in reverse order during unmount).

And make the usage of drivers, windows-version, windows-arch understandable

Signed-off-by: JUN JIE NAN <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants