mirror of
https://github.com/PreMiD/PreMiD.git
synced 2026-04-06 04:41:58 +02:00
12
.github/workflows/deploy.yml
vendored
Normal file
12
.github/workflows/deploy.yml
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
name: DePloY
|
||||
on:
|
||||
push:
|
||||
paths:
|
||||
- "src/**/*"
|
||||
jobs:
|
||||
prepare:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Prepare build
|
||||
- uses: actions/setup-node@master
|
||||
run: npm run init
|
||||
2
pkg.ts
2
pkg.ts
@@ -87,7 +87,7 @@ import * as ora from "ora";
|
||||
|
||||
let icon: string;
|
||||
|
||||
if (response.os == "darwin") icon = "./installer_assets/appIcon.icns";
|
||||
if (response.os == "darwin" || response.os === "current" && platform() === "darwin") icon = "./installer_assets/appIcon.icns";
|
||||
if (["ia32", "x64"].includes(response.arch) || platform() === "win32")
|
||||
icon = "./installer_assets/appIcon.ico";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user