Skip to content

Commit

Permalink
Merge pull request #1092 from novasamatech/rc/1.1.2-131
Browse files Browse the repository at this point in the history
Release candidate - 1.1.2
  • Loading branch information
stepanLav authored Sep 26, 2023
2 parents 64550c1 + 4e894ab commit f4a11aa
Show file tree
Hide file tree
Showing 82 changed files with 1,766 additions and 1,573 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "nova-spektr",
"description": "Polkadot Enterprise application",
"version": "1.1.1",
"version": "1.1.2",
"main": "./release/build/main.js",
"license": "MIT",
"author": {
Expand Down
52 changes: 33 additions & 19 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion scripts/buildChainsJson.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ const { writeFile } = require('fs/promises');
const axios = require('axios');

const SPEKTR_CONFIG_VERSION = process.env.CHAINS_VERSION || 'v1';
const CONFIG_PATH = 'src/renderer/services/network/common/chains';
const CONFIG_PATH = 'src/renderer/assets/chains';
const SPEKTR_CONFIG_URL = `https://raw.githubusercontent.com/novasamatech/nova-spektr-utils/main/chains/${SPEKTR_CONFIG_VERSION}/`;

const CHAINS_ENV = ['chains_dev.json', 'chains.json'];
Expand Down
4 changes: 3 additions & 1 deletion src/main/main.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { join } from 'path';
import { BrowserWindow, shell } from 'electron';
import { BrowserWindow, shell, Menu } from 'electron';
import log, { LogFile } from 'electron-log';
import windowStateKeeper from 'electron-window-state';
import * as path from 'path';
Expand All @@ -8,6 +8,7 @@ import * as fs from 'fs';
import { ENVIRONMENT } from '@shared/constants';
import { APP_CONFIG } from '../../app.config';
import { createWindow } from './factories/create';
import { buildMenuTemplate } from '@main/vectormenu';

const { MAIN, TITLE } = APP_CONFIG;
log.initialize({ preload: true });
Expand Down Expand Up @@ -82,6 +83,7 @@ export async function MainWindow() {

window.show();
});
Menu.setApplicationMenu(buildMenuTemplate());
mainWindowState.manage(window);

return window;
Expand Down
Loading

0 comments on commit f4a11aa

Please sign in to comment.