diff --git a/makede1.tcl b/makede1.tcl index 6c14f0dc..51255d0c 100755 --- a/makede1.tcl +++ b/makede1.tcl @@ -16,19 +16,19 @@ package require de1_gui #file link "/d/admin/code/de1beta/desktop_app/linux" "/d/admin/code/de1beta/desktop_app/decent" #file link "/d/admin/code/de1beta/desktop_app/linux" "/d/admin/code/de1beta/desktop_app/decent" -catch { file link "/d/admin/code/de1beta/desktop_app/linux/src" "/d/download/sync/de1plus" } -catch { file link "/d/admin/code/de1beta/desktop_app/osx/Decent.app/Contents/Resources/de1plus" "/d/download/sync/de1plus" } -catch { file link "/d/admin/code/de1beta/desktop_app/win32/src" "/d/download/sync/de1plus" } +catch { file link "/d/admin/code/de1beta/desktop_app/linux/src" "/d/download/sync/de1beta" } +catch { file link "/d/admin/code/de1beta/desktop_app/osx/Decent.app/Contents/Resources/de1plus" "/d/download/sync/de1beta" } +catch { file link "/d/admin/code/de1beta/desktop_app/win32/src" "/d/download/sync/de1beta" } if {$argv != ""} { puts "Updating apps" # optionally purge the source directories and resync # do this if we remove files from the sync list - file delete -force /d/download/sync/de1plus + file delete -force /d/download/sync/de1beta file delete -force /d/download/sync/decent - file mkdir /d/download/sync/de1plus - file link /d/download/sync/decent /d/download/sync/de1plus + file mkdir /d/download/sync/de1beta + file link /d/download/sync/decent /d/download/sync/de1beta #file delete -force /d/download/sync/de1 file delete -force /d/download/desktop/osx/decent_osx.zip file delete -force /d/download/desktop/win32/decent_win.zip diff --git a/misc.tcl b/misc.tcl index f9383809..4255660a 100644 --- a/misc.tcl +++ b/misc.tcl @@ -598,7 +598,8 @@ proc make_de1_dir {} { set srcdir "/d/admin/code/de1beta" #set destdirs [list "/d/download/sync/de1" "/d/download/sync/de1plus" "/d/download/sync/de1plusbig"] - set destdirs [list "/d/download/sync/de1plus"] + #set destdirs [list "/d/download/sync/de1plus"] + set destdirs [list "/d/download/sync/de1beta"] # load the local manifest into memory foreach {filename filesize filemtime filesha} [string trim [read_file "[homedir]/complete_manifest.txt"]] { diff --git a/updater.tcl b/updater.tcl index 793ff9ad..4827f027 100644 --- a/updater.tcl +++ b/updater.tcl @@ -301,7 +301,9 @@ proc log_to_debug_file {text} { catch { set ::logfile_handle [open "[homedir]/$::settings(logfile)" w] - + # per https://3.basecamp.com/3671212/buckets/7351439/messages/3033510129#__recording_3039704280 + # logging is always fast now, with only line level buffering + set ::settings(log_fast) 1 if {[ifexists ::settings(log_fast)] == "1"} { msg "fast log file" fconfigure $::logfile_handle -blocking 0 -buffering line @@ -366,11 +368,11 @@ proc scheduled_app_update_check {} { proc check_timestamp_for_app_update_available { {check_only 0} } { set host "http://decentespresso.com" - set progname "de1stable" + set progname "de1plus" if {[ifexists ::settings(app_updates_beta_enabled)] == 1} { - set progname "de1plus" + set progname "de1beta" } - puts "update timestand endpoint: '$progname'" + puts "update timestanp endpoint: '$progname'" set url_timestamp "$host/download/sync/$progname/timestamp.txt" @@ -483,9 +485,9 @@ proc start_app_update {} { set host "http://decentespresso.com" } - set progname "de1stable" + set progname "de1plus" if {[ifexists ::settings(app_updates_beta_enabled)] == 1} { - set progname "de1plus" + set progname "de1beta" } puts "update download endpoint: '$progname'"