Skip to content

Commit

Permalink
Updated exe version
Browse files Browse the repository at this point in the history
  • Loading branch information
A-Herzog committed Jan 11, 2024
1 parent 32dd3c6 commit b58ee66
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 7 deletions.
5 changes: 4 additions & 1 deletion docs/js/Tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@ limitations under the License.
export {isDesktopApp, getPositiveFloat, getNotNegativeFloat, getPositiveInt, getNotNegativeInt};

const isDesktopApp=(typeof(NL_OS)!='undefined');
if (isDesktopApp) Neutralino.init();
if (isDesktopApp) {
Neutralino.init();
Neutralino.events.on("windowClose",()=>Neutralino.app.exit());
}

function parseFloatStrict(value) {
if(/^(\-|\+)?([0-9]+(\.[0-9]+)?|Infinity)$/.test(value)) return Number(value);
Expand Down
14 changes: 8 additions & 6 deletions neutralino.config.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"$schema": "https://raw.githubusercontent.com/neutralinojs/neutralinojs/main/schemas/neutralino.config.schema.json",
"applicationId": "MiniWarteschlangensimulator",
"version": "1.0.0",
"version": "2.0.0",
"defaultMode": "window",
"port": 0,
"documentRoot": "/docs/",
"url": "/",
"enableServer": true,
"enableNativeAPI": true,
"tokenSecurity": "one-time",
"tokenSecurity": "none",
"logging": {
"enabled": false,
"writeToLogFile": false
Expand All @@ -27,22 +27,24 @@
"height": 900,
"minWidth": 1024,
"minHeight": 768,
"center": true,
"fullScreen": false,
"alwaysOnTop": false,
"icon": "/docs/favicon.ico",
"enableInspector": false,
"borderless": false,
"maximize": true,
"maximize": false,
"hidden": false,
"resizable": true,
"exitProcessOnClose": true
"exitProcessOnClose": false,
"useSavedState": false
}
},
"cli": {
"binaryName": "MiniWarteschlangensimulator",
"resourcesPath": "/docs/",
"clientLibrary": "docs/libs/neutralino.js",
"binaryVersion": "4.9.0",
"clientVersion": "3.8.0"
"binaryVersion": "4.14.1",
"clientVersion": "3.8.0"
}
}

0 comments on commit b58ee66

Please sign in to comment.