@holochain/hc-spin 0.200.8 → 0.200.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cli/cli.js +2 -0
- package/dist/cli.js +2 -0
- package/dist/main/index.js +1 -6
- package/package.json +1 -1
- package/src/main/index.ts +1 -10
package/cli/cli.js
CHANGED
package/dist/cli.js
CHANGED
package/dist/main/index.js
CHANGED
|
@@ -11795,7 +11795,7 @@ const menu = electron.Menu.buildFromTemplate([
|
|
|
11795
11795
|
]);
|
|
11796
11796
|
const rustUtils = require("@holochain/hc-spin-rust-utils");
|
|
11797
11797
|
const cli = new commander.Command();
|
|
11798
|
-
cli.name("hc-spin").description("CLI to run Holochain aps during development.").version(`0.200.
|
|
11798
|
+
cli.name("hc-spin").description("CLI to run Holochain aps during development.").version(`0.200.9 (for holochain 0.2.x)`).argument(
|
|
11799
11799
|
"<path>",
|
|
11800
11800
|
"Path to .webhapp or .happ file to launch. If a .happ file is passed, either a UI path must be specified via --ui-path or a port pointing to a localhost server via --ui-port"
|
|
11801
11801
|
).option(
|
|
@@ -12026,11 +12026,6 @@ electron.app.whenReady().then(async () => {
|
|
|
12026
12026
|
};
|
|
12027
12027
|
}
|
|
12028
12028
|
});
|
|
12029
|
-
electron.app.on("window-all-closed", () => {
|
|
12030
|
-
if (process.platform !== "darwin") {
|
|
12031
|
-
electron.app.quit();
|
|
12032
|
-
}
|
|
12033
|
-
});
|
|
12034
12029
|
electron.app.on("quit", () => {
|
|
12035
12030
|
fs.writeFileSync(
|
|
12036
12031
|
path.join(DATA_ROOT_DIR, ".abandoned"),
|
package/package.json
CHANGED
package/src/main/index.ts
CHANGED
|
@@ -28,7 +28,7 @@ const cli = new Command();
|
|
|
28
28
|
cli
|
|
29
29
|
.name('hc-spin')
|
|
30
30
|
.description('CLI to run Holochain aps during development.')
|
|
31
|
-
.version(`0.200.
|
|
31
|
+
.version(`0.200.9 (for holochain 0.2.x)`)
|
|
32
32
|
.argument(
|
|
33
33
|
'<path>',
|
|
34
34
|
'Path to .webhapp or .happ file to launch. If a .happ file is passed, either a UI path must be specified via --ui-path or a port pointing to a localhost server via --ui-port',
|
|
@@ -351,15 +351,6 @@ app.whenReady().then(async () => {
|
|
|
351
351
|
// });
|
|
352
352
|
});
|
|
353
353
|
|
|
354
|
-
// Quit when all windows are closed, except on macOS. There, it's common
|
|
355
|
-
// for applications and their menu bar to stay active until the user quits
|
|
356
|
-
// explicitly with Cmd + Q.
|
|
357
|
-
app.on('window-all-closed', () => {
|
|
358
|
-
if (process.platform !== 'darwin') {
|
|
359
|
-
app.quit();
|
|
360
|
-
}
|
|
361
|
-
});
|
|
362
|
-
|
|
363
354
|
app.on('quit', () => {
|
|
364
355
|
fs.writeFileSync(
|
|
365
356
|
path.join(DATA_ROOT_DIR, '.abandoned'),
|