Dedicated installation path for nightly builds on Windows (#5331)
* WIP: Fix deep links on Windows for the nightly app Fixes #5326 * Add nsis.include flip * Clean up for PR
This commit is contained in:
		| @ -11,6 +11,7 @@ echo "$PACKAGE" > package.json | ||||
| # electron-builder.yml | ||||
| yq -i '.publish[0].url = "https://dl.zoo.dev/releases/modeling-app/nightly"' electron-builder.yml | ||||
| yq -i '.appId = "dev.zoo.modeling-app-nightly"' electron-builder.yml | ||||
| yq -i '.nsis.include = "./scripts/installer-nightly.nsh"' electron-builder.yml | ||||
|  | ||||
| # Release notes | ||||
| echo "Nightly build $VERSION (commit $COMMIT)" > release-notes.md | ||||
|  | ||||
							
								
								
									
										8
									
								
								scripts/installer-nightly.nsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								scripts/installer-nightly.nsh
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,8 @@ | ||||
| !macro preInit | ||||
| 	SetRegView 64 | ||||
| 	WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Zoo Modeling App (Nightly)" | ||||
| 	WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Zoo Modeling App (Nightly)" | ||||
| 	SetRegView 32 | ||||
| 	WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Zoo Modeling App (Nightly)" | ||||
| 	WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Zoo Modeling App (Nightly)" | ||||
| !macroend | ||||
							
								
								
									
										8
									
								
								scripts/installer.nsh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								scripts/installer.nsh
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,8 @@ | ||||
| !macro preInit | ||||
| 	SetRegView 64 | ||||
| 	WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Zoo Modeling App" | ||||
| 	WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Zoo Modeling App" | ||||
| 	SetRegView 32 | ||||
| 	WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Zoo Modeling App" | ||||
| 	WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "C:\Program Files\Zoo Modeling App" | ||||
| !macroend | ||||
		Reference in New Issue
	
	Block a user