mirror of
https://github.com/ragestudio/relic.git
synced 2025-06-09 02:24:18 +00:00
update ico
This commit is contained in:
parent
96b6d8b4a8
commit
aba9945dc5
@ -1,4 +1,4 @@
|
||||
appId: com.electron.app
|
||||
appId: com.ragestudio.bundler
|
||||
productName: rs-bundler
|
||||
directories:
|
||||
buildResources: build
|
||||
@ -12,6 +12,7 @@ asarUnpack:
|
||||
- resources/**
|
||||
win:
|
||||
executableName: rs-bundler
|
||||
icon: build/icon.ico
|
||||
nsis:
|
||||
artifactName: ${name}-${version}-setup.${ext}
|
||||
shortcutName: ${productName}
|
||||
|
@ -3,7 +3,7 @@ import lodash from "lodash"
|
||||
global.sendToRenderer = (event, data) => {
|
||||
function serializeIpc(data) {
|
||||
const copy = lodash.cloneDeep(data)
|
||||
|
||||
|
||||
// remove fns
|
||||
if (!Array.isArray(copy)) {
|
||||
Object.keys(copy).forEach((key) => {
|
||||
@ -12,7 +12,7 @@ global.sendToRenderer = (event, data) => {
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
return copy
|
||||
}
|
||||
|
||||
@ -27,7 +27,6 @@ const { autoUpdater } = require("electron-differential-updater")
|
||||
|
||||
import open from "open"
|
||||
|
||||
import icon from "../../resources/icon.png?asset"
|
||||
import pkg from "../../package.json"
|
||||
|
||||
import setup from "./setup"
|
||||
@ -87,8 +86,9 @@ class ElectronApp {
|
||||
width: 450,
|
||||
height: 670,
|
||||
show: false,
|
||||
resizable: false,
|
||||
autoHideMenuBar: true,
|
||||
...(process.platform === "linux" ? { icon } : {}),
|
||||
icon: "../../resources/icon.png",
|
||||
webPreferences: {
|
||||
preload: path.join(__dirname, "../preload/index.js"),
|
||||
sandbox: false
|
||||
|
Loading…
x
Reference in New Issue
Block a user