Skip to content

Commit

Permalink
bump version numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
jdeepee committed Mar 7, 2022
1 parent 119e64f commit 25725ee
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flux",
"version": "0.2.16",
"version": "0.2.17",
"private": true,
"description": "A social web3 tool kit for communities",
"author": "[email protected]",
Expand Down
8 changes: 4 additions & 4 deletions src/main-thread/appHooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import { createMainWindow, createSplashScreen } from "./createUI";
import getPort from "get-port";

export function registerAppHooks(mainThreadState: MainThreadGlobal): void {
if (!fs.existsSync(path.join(app.getPath("userData"), "dontDelete-0.2.16"))) {
if (!fs.existsSync(path.join(app.getPath("userData"), "dontDelete-0.2.17"))) {
console.warn(
"Did not find dontDelete-0.2.16 deleting ad4m and Local Storage directories"
"Did not find dontDelete-0.2.17 deleting ad4m and Local Storage directories"
);
const ad4mPath = path.join(app.getPath("userData"), "ad4m");
if (fs.existsSync(ad4mPath)) fs.rmSync(ad4mPath, { recursive: true });
Expand All @@ -23,9 +23,9 @@ export function registerAppHooks(mainThreadState: MainThreadGlobal): void {
if (fs.existsSync(localStoragePath))
fs.rmSync(localStoragePath, { recursive: true });

fs.mkdirSync(path.join(app.getPath("userData"), "dontDelete-0.2.16"));
fs.mkdirSync(path.join(app.getPath("userData"), "dontDelete-0.2.17"));
} else {
console.warn("Found dontDelete-0.2.16, skipping deletion of config");
console.warn("Found dontDelete-0.2.17, skipping deletion of config");
}

// This method is called if a second instance of the application is started
Expand Down

0 comments on commit 25725ee

Please sign in to comment.