-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Tamas Cseh
committed
Jan 19, 2021
1 parent
595f8ac
commit eaad3bc
Showing
5 changed files
with
42 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# name the installer | ||
OutFile "..\\dist\\installer\\Better-UI.exe" | ||
|
||
Var rFLocation | ||
Var backupDir | ||
|
||
# default section start; every NSIS script has at least one section. | ||
Section | ||
|
||
# read the value from the registry into the $0 register | ||
SetRegView 64 | ||
ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Steam App 365960" 'InstallLocation' | ||
StrCpy $rfLocation $0 | ||
DetailPrint "rFactor 2 location: $rfLocation" | ||
|
||
# define the output path for this file | ||
SetOutPath $rfLocation\Bin\Bundles | ||
|
||
# First create a backup | ||
StrCpy $backupDir $rfLocation\Bin\Backup | ||
DetailPrint "Creating backups in folder: $backupDir" | ||
CreateDirectory $backupDir | ||
CopyFiles $rfLocation\Bin\Bundles\net.rfactor2.ui.framework.jar $backupDir | ||
|
||
# define what to install and place it in the output path | ||
File ..\dist\jar\*.jar | ||
|
||
# default section end | ||
SectionEnd |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters