Skip to content

Commit 8106e8a

Browse files
committed
devault to vault
1 parent 6b99f2c commit 8106e8a

3 files changed

Lines changed: 11 additions & 13 deletions

File tree

packages/keepkey-desktop-app/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const validators = {
5353
REACT_APP_KEEPKEY_UPDATER_BASE_URL: url(),
5454
REACT_APP_ETHERSCAN_API_KEY: str(),
5555
REACT_APP_WALLET_CONNECT_PROJECT_ID: str(),
56-
REACT_APP_SHAPESHIFT_DAPP_URL: str({ default: 'https://private.shapeshift.com' }),
56+
REACT_APP_SHAPESHIFT_DAPP_URL: str({ default: 'https://vault.keepkey.com' }),
5757
REACT_APP_HOME_URL: str({ default: 'https://app.keepkey.com' }),
5858
}
5959

packages/keepkey-desktop-app/src/pages/Browser/Browser.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,9 +103,9 @@ const checkIfSSDApp = (currentUrl: string) => {
103103
}
104104

105105
export const Browser = () => {
106-
const [url, setUrl] = useState('https://private.shapeshift.com/')
106+
const [url, setUrl] = useState('https://vault.keepkey.com/')
107107
const [urlWc, setUrlWc] = useState('https://wallet-connect-dapp-ochre.vercel.app')
108-
const [inputUrl, setInputUrl] = useState(url)
108+
const [inputUrl, setInputUrl] = useState('https://vault.keepkey.com/')
109109
const [loading, setLoading] = useState(false)
110110
const [loadingWc, setLoadingWc] = useState(false)
111111
const { isOpen, onOpen, onClose } = useDisclosure({
@@ -257,11 +257,13 @@ export const Browser = () => {
257257

258258
useEffect(() => {
259259
const webview = getWebview()!
260-
if (webviewReady && (url !== webview.getURL() || forceLoad)) {
260+
if (webviewReady && forceLoad) {
261261
setForceLoad(false)
262-
webview.loadURL(url)
262+
if (inputUrl && inputUrl !== 'about:blank') {
263+
webview.loadURL(inputUrl)
264+
}
263265
}
264-
}, [webviewReady, url, forceLoad])
266+
}, [webviewReady, inputUrl, forceLoad])
265267

266268
const formatAndSaveUrl = useCallback(
267269
(e?: React.SyntheticEvent) => {
@@ -398,7 +400,7 @@ export const Browser = () => {
398400
<webview
399401
id='webview'
400402
partition='browser'
401-
src='about:blank'
403+
src='https://vault.keepkey.com/'
402404
style={{ flexGrow: 8 }}
403405
allowpopups='true'
404406
></webview>

packages/keepkey-desktop/package.json

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"productName": "KeepKey Desktop",
2929
"generateUpdatesFilesForAllChannels": true,
3030
"publish": "github",
31+
"afterSign": "scripts/afterSign.js",
3132
"files": [
3233
"build/**/*",
3334
"executables/*"
@@ -49,12 +50,7 @@
4950
"entitlements": "entitlements.mac.plist",
5051
"entitlementsInherit": "entitlements.mac.plist",
5152
"mergeASARs": false,
52-
"notarize": {
53-
"teamId": "DR57X8Z394",
54-
"appleId": "${process.env.APPLE_ID}",
55-
"appleIdPassword": "${process.env.APPLE_APP_SPECIFIC_PASSWORD}",
56-
"ascProvider": "DR57X8Z394"
57-
},
53+
"notarize": false,
5854
"target": [
5955
{
6056
"target": "dmg",

0 commit comments

Comments
 (0)