Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
fixed #56 && #38
Browse files Browse the repository at this point in the history
  • Loading branch information
archywillhe committed Oct 16, 2023
1 parent 2581bb5 commit 7361f11
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions packages/insomnia/config/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
"productName": "Insomnium",
"synopsis": "The 100% local and privacy-focus API Client and Design Tool",
"icon": "https://github.com/archGPT/insomnium/blob/main/packages/insomnia/src/icons/icon.png?raw=true",
"changelogUrl": "",
"changelogUrl": "https://github.com/ArchGPT/insomnium/releases/tag/core",
"theme": "default",
"lightTheme": "studio-light",
"darkTheme": "default",
"githubOrg": "ArchGPT",
"githubRepo": "insomnium"

}
3 changes: 2 additions & 1 deletion packages/insomnia/src/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ export function updatesSupported() {
}

export const getClientString = () => `${getAppEnvironment()}::${getAppPlatform()}::${getAppVersion()}`;
export const changelogUrl = () => appConfig.changelogUrl + '#' + version;
// export const changelogUrl = () => appConfig.changelogUrl + '#' + version;
export const changelogUrl = () => appConfig.changelogUrl

// Global Stuff
export const DB_PERSIST_INTERVAL = 1000 * 60 * 30; // Compact every once in a while
Expand Down
Binary file added packages/insomnia/src/icons/512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions packages/insomnia/src/main/window-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,7 @@ export function createWindow() {
if (!window || !window.webContents) {
return;
}

const href = changelogUrl();
const href = changelogUrl()
const { protocol } = new URL(href);
if (protocol === 'http:' || protocol === 'https:') {
// eslint-disable-next-line no-restricted-properties
Expand Down
Binary file modified packages/insomnia/src/static/insomnia-core-logo_16x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 7361f11

Please sign in to comment.