Skip to content

Commit 4bfedee

Browse files
fix windows installer, add fast withdrawal server ip
1 parent 3992a2f commit 4bfedee

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
"oneClick": true,
129129
"createDesktopShortcut": false,
130130
"runAfterFinish": false,
131-
"include": "build/installer.nsh"
131+
"include": "installer.nsh"
132132
},
133133
"mac": {
134134
"target": [

public/installer.nsh

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
; This is a Windows-specific NSIS installer script
2+
; It will only run when building the Windows installer
3+
!macro customInstall
4+
; Get the installation directory
5+
ReadEnvStr $R0 "ProgramFiles"
6+
StrCpy $R1 "$R0\${PRODUCT_NAME}"
7+
8+
; After installation, show the directory in Explorer (Windows-only feature)
9+
ExecShell "explore" "$INSTDIR"
10+
!macroend

src/components/FastWithdrawalModal.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -232,8 +232,7 @@ const FastWithdrawalModal = () => {
232232
className={styles.input}
233233
>
234234
<option value="localhost">Localhost</option>
235-
<option value="192.168.1.100">192.168.1.100</option>
236-
<option value="192.168.1.101">192.168.1.101</option>
235+
<option value="172.105.148.135">172.105.148.135</option>
237236
</select>
238237
</div>
239238
<div className={styles.inputGroup}>

0 commit comments

Comments
 (0)