build with neutralino

This commit is contained in:
Guillaume Dorce 2022-10-23 15:05:51 +02:00
parent ef8096c7cb
commit 7c33ab8a35
4 changed files with 74 additions and 1 deletions

3
client/.gitignore vendored
View File

@ -10,7 +10,10 @@ lerna-debug.log*
node_modules node_modules
dist dist
dist-ssr dist-ssr
dist-vite
bin
*.local *.local
undefined
# Editor directories and files # Editor directories and files
.vscode/* .vscode/*

View File

@ -0,0 +1,69 @@
{
"applicationId": "groupomania",
"version": "1.0.0",
"defaultMode": "window",
"port": 0,
"documentRoot": "/dist-vite/",
"url": "/",
"enableServer": true,
"enableNativeAPI": true,
"tokenSecurity": "one-time",
"logging": {
"enabled": true,
"writeToLogFile": true
},
"nativeAllowList": [
"app.*",
"os.*",
"debug.log"
],
"globalVariables": {
},
"modes": {
"window": {
"title": "Groupomania",
"width": 800,
"height": 500,
"minWidth": 400,
"minHeight": 200,
"fullScreen": false,
"alwaysOnTop": false,
"icon": "/dist-vite/icons/logo-only.png",
"enableInspector": true,
"borderless": false,
"maximize": true,
"hidden": false,
"resizable": true,
"exitProcessOnClose": true
},
"browser": {
"globalVariables": {
},
"nativeBlockList": [
"filesystem.*"
]
},
"cloud": {
"url": "/resources/#cloud",
"nativeAllowList": [
"app.*"
]
},
"chrome": {
"width": 800,
"height": 500,
"args": "--user-agent=\"Neutralinojs chrome mode\"",
"nativeBlockList": [
"filesystem.*",
"os.*"
]
}
},
"cli": {
"binaryName": "groupomania",
"resourcesPath": "/dist-vite/",
"extensionsPath": "/extensions/",
"binaryVersion": "4.7.0",
"clientVersion": "3.6.0"
}
}

View File

@ -6,7 +6,8 @@
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
"build": "tsc && vite build", "build": "tsc && vite build",
"preview": "vite preview" "preview": "vite preview",
"build:neu": "tsc && vite build && mv dist dist-vite && neu update && neu build --release"
}, },
"dependencies": { "dependencies": {
"@tanstack/react-query": "^4.2.3", "@tanstack/react-query": "^4.2.3",

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB