Skip to content

Commit 1ca370f

Browse files
committed
add support buttons to the about section on settings and to the start menu
1 parent edeb105 commit 1ca370f

File tree

3 files changed

+30
-5
lines changed

3 files changed

+30
-5
lines changed

OSL Programs/apps/System/.Install_system.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@
123123
"path": "Origin/(A) System/System Apps",
124124
"name": "Origin_Start.osl",
125125
"icon": "c #111 w 10 square 0 0 5 5 c #fff w 2 icn power 0.7",
126-
"version":"5.2"
126+
"version":"5.3"
127127
},
128128
{
129129
"url": "https://origin.mistium.com/OSL%20Programs/apps/System/File_Info.osl",
@@ -242,7 +242,7 @@
242242
"path": "Origin/(A) System/User Applications",
243243
"name": "Settings.osl",
244244
"icon": "c #6fa6eb w 10 square 0 0 5 5 c #111 w 8 square 0 0 5 5 dot 0 0 c #777 w 4 line 0 6 0 -6 line -5 3 5 -3 line 5 3 -5 -3 w 11.5 dot 0 0 w 7 c #111 dot 0 0 w 5 c #6fa6eb dot 0 0",
245-
"version":"14.4"
245+
"version":"14.5"
246246
},
247247
{
248248
"url": "https://origin.mistium.com/OSL%20Programs/apps/System/Calculator.osl",

OSL Programs/apps/System/Origin_Start.osl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,12 @@ before = [
7979
icon: "icn favorites-full 1",
8080
link: "https://patreon.com/mistium"
8181
},
82+
{
83+
type: "inf",
84+
name: "Support me on ko-fi!",
85+
icon: "icn favorites-full 1",
86+
link: "https://ko-fi.com/mistium"
87+
},
8288
{
8389
type: "inf",
8490
name: "Used " ++ formatFileSize(user.used_size) ++ "/" ++ formatFileSize(user.max_size),
@@ -129,7 +135,7 @@ square width 30 10
129135
glass:frame window.left window.top window.right window.bottom
130136
frame "clear"
131137

132-
frame window.left + 10 window.top - 50 window.right - 10 window.bottom + 51 total - 0.5 * 40 (
138+
frame window.left + 10 window.top - 50 window.right - 10 window.bottom + 51 total * 40 (
133139
total = apps.len
134140
goto 0 frame.top - 20 + frame.scroll
135141
each item apps (

OSL Programs/apps/System/Settings.osl

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1534,7 +1534,7 @@ def "credits" (
15341534
)
15351535
x = x_position
15361536
change w / -2 + 30 40
1537-
image "https://raw.githubusercontent.com/Mistium/Origin-OS/main/Resources/turbowarp_logo.png" 50 50
1537+
image "https://origin.mistium.com/Resources/turbowarp_logo.png" 50 50
15381538
change_x 30
15391539
text "TurboWarp" 16 : c#txtc
15401540
change -200 -45
@@ -1686,12 +1686,31 @@ def "about" (
16861686

16871687
set_x frame.left + 20
16881688
change_y -30
1689-
local info = "originOS is a scratch-based desktop environment that runs the OSL programming language. It is designed to be a lightweight, customizable, and secure desktop experience."
1689+
local info = "originOS is a scratch-based desktop environment that runs the OSL programming language. It is designed to be a powerful, customizable, and secure desktop experience."
16901690
text info.wrapText(w / 10 - 4) 10 : c#txtc
16911691

16921692
set_x frame.left + 20
16931693
change_y -60
16941694
text "Developed with <3 by Mistium" 10 : c#txtc
1695+
1696+
set_x frame.left + 20
1697+
change_y -90
1698+
text "Support me!" 10 : c#txtc
1699+
1700+
set_x frame.left + 70
1701+
change_y -40
1702+
square 100 20 10 : c#prim
1703+
if onclick (
1704+
http "newtab" "https://patreon.com/mistium"
1705+
)
1706+
centext "Patreon" 10 : c#txtc
1707+
1708+
change_y -40
1709+
square 100 20 10 : c#prim
1710+
if onclick (
1711+
http "newtab" "https://ko-fi.com/mistium"
1712+
)
1713+
centext "Ko-Fi" 10 : c#txtc
16951714
)
16961715

16971716
if passed_data == "" (

0 commit comments

Comments
 (0)