Skip to content

Commit

Permalink
squirrel config
Browse files Browse the repository at this point in the history
  • Loading branch information
xiduzo committed Aug 4, 2024
1 parent 67d2b68 commit fc0b1cb
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 8 deletions.
22 changes: 14 additions & 8 deletions apps/electron-app/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ module.exports = {
prune: false,
protocols: [
{
name: "Figma hardware bridge",
schemes: ["fhb", "figma-hardware-bridge"],
name: "microflow-studio",
schemes: ["mfs", "microflow-studio"],
},
],
},
Expand All @@ -31,7 +31,8 @@ module.exports = {
makers: [
{
name: "@electron-forge/maker-squirrel",
config: {},
config: {
}
},
{
name: "@electron-forge/maker-zip",
Expand All @@ -41,17 +42,22 @@ module.exports = {
name: "@electron-forge/maker-deb",
config: {
mimeType: [
"x-scheme-handler/fhb",
"x-scheme-handler/figma-hardware-bridge",
"x-scheme-handler/mfs",
"x-scheme-handler/microflow-studio",
],
},
},
{
name: "@electron-forge/maker-rpm",
config: {},
config: {
mimeType: [
"x-scheme-handler/mfs",
"x-scheme-handler/microflow-studio",
],
},
},
],
buildIdentifier: "figma-hardware-bridge",
buildIdentifier: "microflow-studio",
plugins: [
{
name: "@electron-forge/plugin-vite",
Expand Down Expand Up @@ -90,7 +96,7 @@ module.exports = {
config: {
repository: {
owner: 'Xiduzo',
name: 'Figma-Hardware-Bridge'
name: 'microflow-studio'
},
prerelease: true
}
Expand Down
5 changes: 5 additions & 0 deletions apps/electron-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
"license": "GPL-3.0-only",
"version": "1.0.0",
"description": "An application which allows you to create flow-based logic for microcontrollers",
"author": {
"name": "Sander Boer",
"email": "mail@sanderboer.nl",
"url": "https://sanderboer.nl"
},
"main": ".vite/build/main.js",
"scripts": {
"start": "electron-forge start",
Expand Down

0 comments on commit fc0b1cb

Please sign in to comment.