Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Running Think or Swim (ToS) natively on aarch64 (Asahi Linux on M1 Apple Silicon)
- # IMPORTANT: PLEASE FOLLOW THESE STEPS IN ORDER.. AND DON'T SKIP/RE-ARRANGE ANY STEPS.
- # Run the installer and finish installation.
- # Select the option to run ToS afterwards.
- # Wait for it to finish updating (this may take a while).
- # You can click on 'Installing updates..' to see the update progress.
- # Close the app once you make it to the main screen.
- ~/Downloads/thinkorswim_installer.sh
- # Download the aarch64 version of jxbrowser-linux64 to the cache directory (ignore robots.txt error).
- wget -rO "$(realpath ~/thinkorswim/usergui/*/jxbrowser-linux64-7.27.jar)" "https://rapi.tools.ops.smartbear.io/nexus/content/groups/public/com/teamdev/jxbrowser/jxbrowser-linux64-arm/7.28/jxbrowser-linux64-arm-7.28.jar"
- # Update the directory name inside the jar from 7.28 to 7.27 (requires 7z to be instaled)
- 7z rn "$(realpath ~/thinkorswim/usergui/*/jxbrowser-linux64-7.27.jar)" 7.28 7.27
- # Run ToS again to let it extract the above archive (wait till the updates screen finishes).
- # Close the app afterwards.
- ~/thinkorswim/thinkorswim
- # Update the launch command args to disable chromium extraction verification.
- # Update '~/thinkorswim/thinkorswim'. Towards the end of the file, replace:
- "-Dwhitelabel=tos"
- with:
- "-Djxbrowser.chromium.verification.off=1 -Dwhitelabel=tos"
- # Run ToS normally from this point on!
- ~/thinkorswim/thinkorswim
Advertisement
Add Comment
Please, Sign In to add comment