Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
JerryI committed Feb 26, 2025
1 parent 9ffcd9e commit 26a44e2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
20 changes: 0 additions & 20 deletions Scripts/start.wls
Original file line number Diff line number Diff line change
Expand Up @@ -168,26 +168,6 @@ Echo["Checking version of WLJS Notebook ..."];

{loadSettings, storeSettings} = Get[FileNameJoin[{"Frontend", "Settings.wl"}] ];

Module[{settings = <||>, toNumber = Function[str, StringReplace[str, "."->""] // ToExpression ]},
loadSettings[settings];
If[KeyExistsQ[settings, "CurrentVersion"],
Echo[StringTemplate["AppJSON: ``, Settings: ``"][$Env["AppJSON", "version"], settings["CurrentVersion"] ] ];
With[{},
If[toNumber[$Env["AppJSON", "version"] ] > toNumber[settings["CurrentVersion"] ],
Echo["Not in sync!"];

DeleteFile[FileNameJoin[{Directory[], ".wljs_timestamp"}] ];

Echo["Everything will be in sync"];
,
Echo["Everything is in sync!"];
];
];
,
Echo["Undefined!"];
];
];

WLJSPackages`Repositories[{
WLJSPackages`Github -> "https://github.com/JerryI/wljs-editor" -> "base",
WLJSPackages`Github -> "https://github.com/JerryI/Mathematica-ThreeJS-graphics-engine" -> "base",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wljs-notebook",
"version": "2.6.9",
"version": "2.7.0",
"recommended-client-version": "2.6.3",
"description": "Dynamic Notebook Environment for Wolfram Language written in Javascript",
"author": {
Expand Down

0 comments on commit 26a44e2

Please sign in to comment.