File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -728,10 +728,10 @@ func (m *InitializingAppLoading) View() string {
728
728
}
729
729
730
730
// Get binary path based on OS
731
- func getBinaryPath (extractedPath string ) string {
731
+ func getBinaryPath (extractedPath string , version string ) string {
732
732
switch runtime .GOOS {
733
733
case "linux" :
734
- return filepath .Join (extractedPath , "initia_v0.4.10" , "initiad" )
734
+ return filepath .Join (extractedPath , "initia_" + version , "initiad" )
735
735
case "darwin" :
736
736
return filepath .Join (extractedPath , "initiad" )
737
737
default :
@@ -792,7 +792,7 @@ func initializeApp(state *RunL1NodeState) tea.Cmd {
792
792
}
793
793
794
794
extractedPath = filepath .Join (weaveDataPath , fmt .Sprintf ("initia@%s" , nodeVersion ))
795
- binaryPath = getBinaryPath (extractedPath )
795
+ binaryPath = getBinaryPath (extractedPath , nodeVersion )
796
796
797
797
if _ , err := os .Stat (binaryPath ); os .IsNotExist (err ) {
798
798
if _ , err := os .Stat (extractedPath ); os .IsNotExist (err ) {
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ func GetLinuxRunL1NodeServiceContent(version string) string {
202
202
}
203
203
204
204
weaveDataPath := filepath .Join (userHome , WeaveDataDirectory )
205
- binaryPath := filepath .Join (weaveDataPath , "initia@" + version , "initia_v0.4.10" )
205
+ binaryPath := filepath .Join (weaveDataPath , "initia@" + version , "initia_" + version )
206
206
207
207
return fmt .Sprintf (LinuxRunL1NodeTemplate , currentUser .Username , binaryPath )
208
208
}
You can’t perform that action at this time.
0 commit comments