Skip to content

Commit

Permalink
Update Origin_Start.osl
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistium authored Nov 21, 2024
1 parent 8d22c22 commit 71ebf82
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions OSL Programs/apps/System/Origin_Start.osl
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ network "server" "connect_rotur_discord"

discord_messages = []

repo_data = "https://api.github.com/repos/Mistium/Origin-OS".get()

mainloop:

wt:load_theme
Expand All @@ -68,13 +70,11 @@ if new_network_data (
new_network_data = false
)

if repo_data.isType("string") (
repo_data = "https://api.github.com/repos/Mistium/Origin-OS".getAsync().JsonParse()
)

window_y += target_y - window_y / 5
window "refresh_bg"
window "y" window_y.round
if window_y.round() != target_y.round() (
window "refresh_bg"
)
window "y" window_y.round()

square 700 700 15 : c#global_accent
square 700 700 10 1 : c#window_colour
Expand Down

0 comments on commit 71ebf82

Please sign in to comment.