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

Make Live BIOS version as symbolic link to directory #347

Closed
emcek opened this issue Aug 5, 2024 · 0 comments · Fixed by #373
Closed

Make Live BIOS version as symbolic link to directory #347

emcek opened this issue Aug 5, 2024 · 0 comments · Fixed by #373
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@emcek
Copy link
Owner

emcek commented Aug 5, 2024

Move git version of BIOS form temp directory to regular one and link to Save Games folder to skip coping process.

Using windows cmd (not pwsh):

C:\Windows\System32>mklink /d "C:\Users\user1\Saved Games\Scripts\DCS-BIOS" "C:\Users\user1\Projects\dcspy\Scripts\DCS-BIOS"
symbolic link created for C:\Users\user1\Saved Games\Scripts\DCS-BIOS <<===>> C:\Users\user1\Projects\dcspy\Scripts\DCS-BIOS

There is a change we need Admin rights to do it:
https://www.xingyulei.com/post/py-admin/index.html
https://stackoverflow.com/questions/19672352/how-to-run-script-with-elevated-privilege-on-windows
https://github.com/Preston-Landers/pyuac

New-Item -ItemType SymbolicLink -Path "Link" -Target "Target"
@emcek emcek added the enhancement New feature or request label Aug 5, 2024
@emcek emcek self-assigned this Aug 5, 2024
@emcek emcek changed the title Make Live BIOS version as symbolic lick to directory Make Live BIOS version as symbolic link to directory Aug 5, 2024
@emcek emcek added this to the Release 3.5.* milestone Sep 29, 2024
@emcek emcek linked a pull request Sep 29, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant