Skip to content

Commit 484832b

Browse files
committed
Merge branch 'develop' of https://github.com/iotaledger/firefly into develop
2 parents edaa355 + e582719 commit 484832b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+3698
-2705
lines changed

.github/workflows/build-desktop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ jobs:
179179
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
180180
with:
181181
tag_name: ${{ github.ref }}
182-
release_name: Firefly Desktop Alpha ${{ env.RELEASE_VERSION }}
182+
release_name: Firefly Desktop ${{ env.RELEASE_VERSION }}
183183
body_path: packages/desktop/CHANGELOG.md
184184
draft: true
185185
prerelease: true

packages/backend/bindings/node/native/Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/desktop/electron/lib/keychain.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ const Keychain = {
66
/**
77
* Service name — Key under which credentials will be stored.
88
*/
9-
// TODO: Remove `Firefly Migration`
10-
SERVICE_NAME: app.isPackaged ? 'Firefly Migration' : 'Firefly — Dev',
9+
SERVICE_NAME: app.isPackaged ? 'Firefly' : 'Firefly — Dev',
1110
/**
1211
* Gets all credentials from keychain
1312
*

packages/desktop/electron/lib/menu.js

Lines changed: 20 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -85,22 +85,30 @@ const buildTemplate = () => {
8585
label: state.strings.diagnostics,
8686
click: () => getOrInitWindow('main').webContents.send('menu-diagnostics'),
8787
},
88-
{
89-
// TODO: Remove before stable release
90-
label: "Developer Tools",
91-
role: 'toggleDevTools'
92-
},
93-
{
94-
label: state.strings.errorLog,
95-
click: () => getOrInitWindow('main').webContents.send('menu-error-log')
96-
},
97-
{
98-
type: 'separator',
99-
},
10088
]
10189
}
10290
]
10391

92+
if (!app.isPackaged) {
93+
template[0].submenu.push(
94+
{
95+
label: "Developer Tools",
96+
role: 'toggleDevTools'
97+
}
98+
)
99+
}
100+
101+
template[0].submenu = template[0].submenu.concat([
102+
{
103+
label: state.strings.errorLog,
104+
click: () => getOrInitWindow('main').webContents.send('menu-error-log')
105+
},
106+
{
107+
type: 'separator',
108+
},
109+
]
110+
)
111+
104112
if (process.platform === 'darwin') {
105113
template[0].submenu = template[0].submenu.concat([
106114
{

packages/desktop/electron/main.js

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,6 @@ const windows = {
3838
about: null,
3939
}
4040

41-
/**
42-
* Set environment mode
43-
*/
44-
const devMode = process.env.NODE_ENV === 'development'
45-
4641
let paths = {
4742
preload: '',
4843
html: '',
@@ -61,8 +56,7 @@ const defaultWebPreferences = {
6156
disableBlinkFeatures: 'Auxclick',
6257
webviewTag: false,
6358
enableWebSQL: false,
64-
// TODO: Remove before stable
65-
devTools: true,
59+
devTools: !app.isPackaged,
6660
}
6761

6862
if (app.isPackaged) {
@@ -155,12 +149,10 @@ function createWindow() {
155149

156150
mainWindowState.track(windows.main);
157151

158-
if (devMode) {
152+
if (!app.isPackaged) {
159153
// Enable dev tools only in developer mode
160154
windows.main.webContents.openDevTools()
161-
}
162155

163-
if (devMode) {
164156
windows.main.loadURL('http://localhost:8080')
165157
} else {
166158
initAutoUpdate(windows.main)

packages/desktop/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "desktop",
3-
"productName": "Firefly Migration",
4-
"version": "0.4.0",
3+
"productName": "Firefly",
4+
"version": "1.0.0",
55
"description": "IOTA wallet desktop",
66
"main": "public/build/main.js",
77
"repository": "[email protected]:iotaledger/new-wallet.git",
@@ -47,7 +47,7 @@
4747
"webpack-dev-server": "^3.11.2"
4848
},
4949
"build": {
50-
"productName": "Firefly Migration",
50+
"productName": "Firefly",
5151
"artifactName": "firefly-desktop-${version}.${ext}",
5252
"copyright": "IOTA Foundation",
5353
"directories": {

packages/desktop/public/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,10 @@
77
http-equiv="Content-Security-Policy"
88
content="
99
default-src 'self';
10-
connect-src 'self' https://*.iota.org https://*.iota.works https://*.iotatestmigration4.net https://*.iotatestmigration.net https://*.chrysalis2.com https://raw.githubusercontent.com/iotaledger/firefly/develop/packages/shared/lib/chrysalis.json;
10+
connect-src 'self' https://*.iota.org https://*.iota.works https://*.iota.cafe https://raw.githubusercontent.com/iotaledger/firefly/develop/packages/shared/lib/chrysalis.json;
1111
object-src 'none';
1212
style-src 'self' 'unsafe-inline';"
1313
/>
14-
<!-- TODO: Remove iotatestmigration and chrysalis2-->
1514
<title>Firefly</title>
1615

1716
<link rel="icon" type="image/png" href="/favicon.png" />

packages/desktop/scripts/notarize.macos.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ exports.default = async () => {
1919

2020
await notarize({
2121
appBundleId: 'org.iota.firefly',
22-
appPath: path.resolve(__dirname, '../out/mac/Firefly Migration.app'),
22+
appPath: path.resolve(__dirname, '../out/mac/Firefly.app'),
2323
appleId: APPLE_ID,
2424
appleIdPassword: APPLE_ID_PASSWORD,
2525
ascProvider: 'UG77RJKZHH',

packages/shared/assets/animations/import-from-text-success-desktop-darkmode.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

packages/shared/assets/animations/import-from-text-success-desktop.json

Lines changed: 1 addition & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)