Skip to content
This repository has been archived by the owner on Jun 20, 2022. It is now read-only.

Commit

Permalink
3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
moughxyz committed Feb 7, 2020
1 parent c624333 commit 6debd37
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 19 deletions.
2 changes: 1 addition & 1 deletion app/application.js
Expand Up @@ -188,7 +188,7 @@ export class DesktopApplication {
defaultHeight: WINDOW_DEFAULT_HEIGHT
});
const iconLocation = path.join(__dirname, '/icon/Icon-512x512.png');
const useSystemMenuBar = Store.get(StoreKeys.useSystemMenuBar);
const useSystemMenuBar = Store.get(StoreKeys.UseSystemMenuBar);
const titleBarStyle = (this.isMac || useSystemMenuBar)
? 'hiddenInset'
: null;
Expand Down
2 changes: 1 addition & 1 deletion app/javascripts/main/index.js
Expand Up @@ -4,6 +4,6 @@ export { FileUtils } from './fileUtils';
export { MenuManager } from './menuManager';
export { PackageManager } from './packageManager';
export { SearchManager } from './searchManager';
export { TrayManager } from './TrayManager';
export { TrayManager } from './trayManager';
export { UpdateManager } from './updateManager';
export { ZoomManager } from './zoomManager';
4 changes: 2 additions & 2 deletions app/javascripts/main/store.js
Expand Up @@ -20,8 +20,8 @@ export class Store {
this.instance = new Store({
configName: 'user-preferences',
defaults: {
useSystemMenuBar: false,
isMenuBarVisible: true
[StoreKeys.UseSystemMenuBar]: false,
[StoreKeys.MenuBarVisible]: true
}
});
}
Expand Down
2 changes: 1 addition & 1 deletion app/javascripts/renderer/preload.js
Expand Up @@ -60,7 +60,7 @@ function loadTransmitter() {
spellcheck: spellcheck,
extServerHost: Store.get(StoreKeys.ExtServerHost),
rendererPath: rendererPath,
isMacOS: process.platform === "darwin",
isMacOS: process.platform === 'darwin',
appVersion: remote.app.getVersion(),
useSystemMenuBar: Store.get(StoreKeys.UseSystemMenuBar),

Expand Down
13 changes: 6 additions & 7 deletions app/javascripts/renderer/renderer.js
Expand Up @@ -23,11 +23,11 @@ Promise.all([
bridge = receiver.items[0];
desktopManager = angular.element(document).injector().get('desktopManager');

registerIpcMessageListener();
configureDesktopManager();
configureWindow();
configureSpellcheck();
loadZipLibrary();
await registerIpcMessageListener();
await configureDesktopManager();
await configureWindow();
await configureSpellcheck();
await loadZipLibrary();
});

async function configureWindow() {
Expand Down Expand Up @@ -66,7 +66,6 @@ async function configureWindow() {
bridge.closeWindow();
});


// For Mac inset window
const sheet = window.document.styleSheets[0];
if(isMacOS) {
Expand Down Expand Up @@ -162,7 +161,7 @@ async function registerIpcMessageListener() {
});
}

function loadZipLibrary() {
async function loadZipLibrary() {
// load zip library (for exporting items as zip)
var scriptTag = document.createElement('script');
scriptTag.src = "./vendor/zip/zip.js";
Expand Down
6 changes: 3 additions & 3 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions app/package.json
Expand Up @@ -3,7 +3,7 @@
"productName": "Standard Notes",
"description": "A simple and private place for your notes, thoughts, and life's work.",
"author": "Standard Notes <help@standardnotes.org>",
"version": "3.0.25",
"version": "3.3.0",
"main": "./dist/index.js",
"dependencies": {
"adm-zip": "^0.4.13",
Expand All @@ -19,6 +19,6 @@
"semver": "^5.5.0",
"sn-electron-valence": "0.0.4",
"spellchecker": "github:mobitar/node-spellchecker",
"standard-notes-web": "github:standardnotes/web#3c8c43ac7e8188a58e7da53311ccf6e023cf6f4a"
"standard-notes-web": "github:standardnotes/web#3d15cc1f7086a3d42e2d2de546e2d853e696127e"
}
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "standard-notes",
"main": "./app/dist/index.js",
"version": "3.0.25",
"version": "3.3.0",
"license": "AGPL-3.0-or-later",
"devDependencies": {
"@babel/cli": "^7.7.7",
Expand Down

0 comments on commit 6debd37

Please sign in to comment.