Skip to content

Commit

Permalink
electron forge
Browse files Browse the repository at this point in the history
  • Loading branch information
RUNGUSZONE committed Dec 29, 2023
1 parent 8d943f5 commit 7cdf650
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,5 @@ internal.txt
logs
data
saved-messages.jsonl
venv
venv
out
31 changes: 31 additions & 0 deletions frontend/forge.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
module.exports = {
packagerConfig: {
asar: true,
icon: '/css/bucket.png'
},
rebuildConfig: {},
makers: [
{
name: '@electron-forge/maker-squirrel',
config: {},
},
{
name: '@electron-forge/maker-zip',
platforms: ['darwin'],
},
{
name: '@electron-forge/maker-deb',
config: {},
},
{
name: '@electron-forge/maker-rpm',
config: {},
},
],
plugins: [
{
name: '@electron-forge/plugin-auto-unpack-natives',
config: {},
},
],
};
17 changes: 14 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dependencies": {
"discord.js": "^14.14.1",
"electron": "^28.1.0",
"electron-squirrel-startup": "^1.0.0",
"inquirer": "^9.2.12",
"node-fetch": "^3.3.2",
"openai": "^4.21.0"
Expand All @@ -15,7 +15,9 @@
"url": "git+https://github.com/runguszone/Bucket.git"
},
"scripts": {
"start": "electron ."
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make"
},
"keywords": [
"bucket"
Expand All @@ -25,5 +27,14 @@
"bugs": {
"url": "https://github.com/runguszone/Bucket/issues"
},
"homepage": "https://github.com/runguszone/Bucket#readme"
"homepage": "https://github.com/runguszone/Bucket#readme",
"devDependencies": {
"@electron-forge/cli": "^7.2.0",
"@electron-forge/maker-deb": "^7.2.0",
"@electron-forge/maker-rpm": "^7.2.0",
"@electron-forge/maker-squirrel": "^7.2.0",
"@electron-forge/maker-zip": "^7.2.0",
"@electron-forge/plugin-auto-unpack-natives": "^7.2.0",
"electron": "^28.1.0"
}
}

0 comments on commit 7cdf650

Please sign in to comment.