This repository has been archived by the owner on Jul 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #89 from mixer/feat/updater
Auto Updater and Install Dir
- Loading branch information
Showing
4 changed files
with
23 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
!macro preInit | ||
SetRegView 64 | ||
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$LOCALAPPDATA\Microsoft\Mixer\CDK" | ||
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$LOCALAPPDATA\Microsoft\Mixer\CDK" | ||
SetRegView 32 | ||
WriteRegExpandStr HKLM "${INSTALL_REGISTRY_KEY}" InstallLocation "$LOCALAPPDATA\Microsoft\Mixer\CDK" | ||
WriteRegExpandStr HKCU "${INSTALL_REGISTRY_KEY}" InstallLocation "$LOCALAPPDATA\Microsoft\Mixer\CDK" | ||
!macroend |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@mixer/cdk", | ||
"version": "0.2.7", | ||
"version": "0.4.0", | ||
"description": "Command line tool for developing with Mixer Interactive", | ||
"main": "./dist/src/electron.js", | ||
"bin": { | ||
|
@@ -17,6 +17,8 @@ | |
"fmt:ts": "prettier --write \"{src,test,types}/**/*.{scss,js,ts}\"", | ||
"build:cli": "rimraf dist && tsc", | ||
"build:editor:pack": "npm run -s build:editor:base && electron-builder --dir", | ||
"build:editor:dist:win": "npm run -s build:editor:base && electron-builder --win --x64", | ||
"build:editor:dist:mac": "npm run -s build:editor:base && electron-builder --mac --x64", | ||
"build:editor:dist": "npm run -s build:editor:base && electron-builder --win --mac --x64", | ||
"build:editor:base": "rimraf dist app && ts-node src/app/tools/setProfile.ts && tsc && ng build -prod", | ||
"start": "ts-node src/app/tools/setProfile.ts && tsc && npm-run-all -p start:ng start:electron", | ||
|
@@ -33,6 +35,12 @@ | |
"output": "app", | ||
"buildResources": "." | ||
}, | ||
"win": { | ||
"target": "nsis" | ||
}, | ||
"nsis": { | ||
"include": "./installer.nsh" | ||
}, | ||
"files": [ | ||
"./dist" | ||
], | ||
|
@@ -78,7 +86,7 @@ | |
"interactive", | ||
"cli" | ||
], | ||
"author": "Connor Peet <[email protected]>", | ||
"author": "Microsoft Corporation", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/mixer/miix-cli/issues" | ||
|
@@ -157,6 +165,7 @@ | |
"@mcph/miix-webpack-plugin": "^0.1.2", | ||
"chalk": "^2.3.0", | ||
"command-exists": "^1.2.2", | ||
"electron-updater": "^2.21.4", | ||
"fix-path": "^2.1.0", | ||
"form-data": "^2.3.1", | ||
"json5": "^0.5.1", | ||
|
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