Skip to content

Commit 0bb10b4

Browse files
apps work now
1 parent b0d81f2 commit 0bb10b4

13 files changed

Lines changed: 156 additions & 124 deletions

File tree

appdata/camera.html

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
<head>
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<meta name="nova-icon"
8-
content="<svg width='232' height='232' viewBox='0 0 232 232' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M0 187.772C0 149.24 0 93.5136 0 73.0886C0 63.6775 9.67014 54.1013 19.7566 54.1013C26.7145 54.1013 40.1383 54.1013 56.9901 54.1013C66.254 54.1013 76.5538 26 87.3849 26C106.66 26 125.339 26 145.135 26C153.795 26 167.552 54.1013 175.53 54.1013C189.899 54.1013 199.734 54.1013 209.724 54.1013C222.854 54.1013 231 62.8095 231 71.5696C231 92.0769 231 150.106 231 187.772C231 198.955 222.582 206 213.523 206C187.743 206 65.4563 206 19.7566 206C9.32268 206 0 200.697 0 187.772Z' fill='#32364E'/> <path d='M0 110C0 110 0 93.8818 0 73.3454C0 63.883 9.67014 54.2545 19.7566 54.2545C26.7145 54.2545 40.1383 54.2545 56.9901 54.2545C66.254 54.2545 76.5538 26 87.3849 26C106.66 26 125.339 26 145.135 26C153.795 26 167.552 54.2545 175.53 54.2545C189.899 54.2545 199.734 54.2545 209.724 54.2545C222.854 54.2545 231 63.0102 231 71.8182C231 92.4373 231 110 231 110L0 110Z' fill='#6179FF'/> <path d='M54 128C54 93.7584 81.9822 66 116.5 66C151.018 66 179 93.7583 179 128C179 162.242 151.018 190 116.5 190C81.9822 190 54 162.242 54 128Z' fill='#E3E3E3'/> <path d='M70 128.5C70 102.819 90.8188 82 116.5 82C142.181 82 163 102.819 163 128.5C163 154.181 142.181 175 116.5 175C90.8188 175 70 154.181 70 128.5Z' fill='#464E79'/> <path d='M13 82C13 74.8203 18.8203 69 26 69C33.1797 69 39 74.8203 39 82C39 89.1797 33.1797 95 26 95C18.8203 95 13 89.1797 13 82Z' fill='white'/> </svg>">
9-
<meta name="capabilities" content="camera">
10-
<meta name="permissions" content="settings, unsandboxed, fileGet, fileSet, olp, appStorage">
11-
<meta name="nova-include" content="nova.css material-symbols-rounded">
7+
<script type="application/json" data-for="ntxSetup">
8+
{
9+
"author":"runnova",
10+
"include": ["nova.css", "material-symbols-rounded"],
11+
"permissions":["settings", "unsandboxed", "fileGet", "fileSet", "olp", "appStorage"],
12+
"nova-icon": "<svg width='232' height='232' viewBox='0 0 232 232' fill='none' xmlns='http://www.w3.org/2000/svg'> <path d='M0 187.772C0 149.24 0 93.5136 0 73.0886C0 63.6775 9.67014 54.1013 19.7566 54.1013C26.7145 54.1013 40.1383 54.1013 56.9901 54.1013C66.254 54.1013 76.5538 26 87.3849 26C106.66 26 125.339 26 145.135 26C153.795 26 167.552 54.1013 175.53 54.1013C189.899 54.1013 199.734 54.1013 209.724 54.1013C222.854 54.1013 231 62.8095 231 71.5696C231 92.0769 231 150.106 231 187.772C231 198.955 222.582 206 213.523 206C187.743 206 65.4563 206 19.7566 206C9.32268 206 0 200.697 0 187.772Z' fill='#32364E'/> <path d='M0 110C0 110 0 93.8818 0 73.3454C0 63.883 9.67014 54.2545 19.7566 54.2545C26.7145 54.2545 40.1383 54.2545 56.9901 54.2545C66.254 54.2545 76.5538 26 87.3849 26C106.66 26 125.339 26 145.135 26C153.795 26 167.552 54.2545 175.53 54.2545C189.899 54.2545 199.734 54.2545 209.724 54.2545C222.854 54.2545 231 63.0102 231 71.8182C231 92.4373 231 110 231 110L0 110Z' fill='#6179FF'/> <path d='M54 128C54 93.7584 81.9822 66 116.5 66C151.018 66 179 93.7583 179 128C179 162.242 151.018 190 116.5 190C81.9822 190 54 162.242 54 128Z' fill='#E3E3E3'/> <path d='M70 128.5C70 102.819 90.8188 82 116.5 82C142.181 82 163 102.819 163 128.5C163 154.181 142.181 175 116.5 175C90.8188 175 70 154.181 70 128.5Z' fill='#464E79'/> <path d='M13 82C13 74.8203 18.8203 69 26 69C33.1797 69 39 74.8203 39 82C39 89.1797 33.1797 95 26 95C18.8203 95 13 89.1797 13 82Z' fill='white'/> </svg>"
13+
}
14+
</script>
1215
<title>Camera App</title>
1316
<style>
1417
html {
@@ -437,7 +440,7 @@
437440
<span class="material-symbols-rounded">stop</span>
438441
</button>
439442
</div>
440-
<div class="view_output_section" onclick="ntxSession.send('olp.useHandler', 'gallery');">
443+
<div class="view_output_section" onclick="ntxSession.send('olp.useHandler', 'Gallery@runnova');">
441444
<img src="" id="last_img_prviw">
442445
</div>
443446
</div>

appdata/files.html

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,14 @@
44
<head>
55
<title>Files app</title>
66
<meta name="description" content="Default Files app for Nova OS">
7-
<meta name="capabilities" content="file_manager">
8-
<meta name="permissions" content="utility, fileGet, olp, fileSet, settings, unsandboxed">
9-
<meta name="nova-include" content="nova.css material-symbols-rounded">
10-
<meta name="nova-icon"
11-
content="<svg width='232' height='232' viewBox='0 0 232 232' fill='none' xmlns='http://www.w3.org/2000/svg'> <g clip-path='url(#clip0_2_55)'> <path d='M0 22.8205C0 10.2171 8.9543 0 20 0H48C48 0 67 0 81 0C95 0 97.5 19.3974 106 19.3974C112.283 19.3974 178.121 19.3974 212.038 19.3974C223.084 19.3974 232 29.6145 232 42.2179V155.179C232 167.783 223.046 178 212 178H20C8.95431 178 0 167.783 0 155.179V22.8205Z' fill='#d19450'/> <path d='M200 39H32C20.9543 39 12 49.2908 12 61.9851V170.015C12 182.709 20.9543 193 32 193H200C211.046 193 220 182.709 220 170.015V61.9851C220 49.2908 211.046 39 200 39Z' fill='#ffffff'/> <path d='M212 72H20C8.9543 72 0 82.2335 0 94.8571V209.143C0 221.767 8.9543 232 20 232H212C223.046 232 232 221.767 232 209.143V94.8571C232 82.2335 223.046 72 212 72Z' fill='#ffc853'/> </g> <defs> <clipPath id='clip0_2_55'> <rect width='232' height='232' fill='white'/> </clipPath> </defs> </svg>">
7+
<script type="application/json" data-for="ntxSetup">
8+
{
9+
"author":"runnova",
10+
"include": ["nova.css", "material-symbols-rounded"],
11+
"permissions":["settings", "unsandboxed", "fileGet", "fileSet", "olp", "appStorage"],
12+
"nova-icon": "<svg width='232' height='232' viewBox='0 0 232 232' fill='none' xmlns='http://www.w3.org/2000/svg'> <g clip-path='url(#clip0_2_55)'> <path d='M0 22.8205C0 10.2171 8.9543 0 20 0H48C48 0 67 0 81 0C95 0 97.5 19.3974 106 19.3974C112.283 19.3974 178.121 19.3974 212.038 19.3974C223.084 19.3974 232 29.6145 232 42.2179V155.179C232 167.783 223.046 178 212 178H20C8.95431 178 0 167.783 0 155.179V22.8205Z' fill='#d19450'/> <path d='M200 39H32C20.9543 39 12 49.2908 12 61.9851V170.015C12 182.709 20.9543 193 32 193H200C211.046 193 220 182.709 220 170.015V61.9851C220 49.2908 211.046 39 200 39Z' fill='#ffffff'/> <path d='M212 72H20C8.9543 72 0 82.2335 0 94.8571V209.143C0 221.767 8.9543 232 20 232H212C223.046 232 232 221.767 232 209.143V94.8571C232 82.2335 223.046 72 212 72Z' fill='#ffc853'/> </g> <defs> <clipPath id='clip0_2_55'> <rect width='232' height='232' fill='white'/> </clipPath> </defs> </svg>"
13+
}
14+
</script>
1215
<script src="https://cdn.jsdelivr.net/npm/jsmediatags@latest/dist/jsmediatags.min.js"></script>
1316
<style>
1417
html {
@@ -1503,7 +1506,7 @@
15031506
console.log(453, folderPath)
15041507
let zipped = await window.parent.zipFolder(folderPath);
15051508
let tmpflpth = folderPath.endsWith('/') ? folderPath.slice(0, -1) : folderPath
1506-
let toBeSavedToData = await ntxSession.send("olp.useHandler", "file_manager", { "opener": 'saveas', "value": tmpflpth + ".zip" });
1509+
let toBeSavedToData = await ntxSession.send("olp.useHandler", "Files@runnova", { "opener": 'saveas', "value": tmpflpth + ".zip" });
15071510
await ntxSession.send("fileSet.createFile", toBeSavedToData.path, toBeSavedToData.name, false, zipped);
15081511
},
15091512
icon: "folder_zip",
@@ -2037,11 +2040,11 @@
20372040
}
20382041

20392042
if (all == 'any') {
2040-
let appIdToOpen = await ntxSession.send("olp.useHandler", "file_manager", { "opener": "app", "dir": "Apps/" });
2043+
let appIdToOpen = await ntxSession.send("olp.useHandler", "Files@runnova", { "opener": "app", "dir": "Apps/" });
20412044
await ntxSession.send("olp.launch", appIdToOpen, x);
20422045
return;
20432046
} else if (all == 'text') {
2044-
await ntxSession.send("olp.useHandler", "text_editor", slfileID);
2047+
await ntxSession.send("olp.useHandler", "Text@runnova", slfileID);
20452048
return;
20462049
}
20472050

@@ -2458,7 +2461,7 @@
24582461
label: 'Unzip',
24592462
action: async (itemuid) => {
24602463
let file = await ntxSession.send("fileGet.byId", itemuid)
2461-
let toBeSavedToData = await ntxSession.send("olp.useHandler", "file_manager", { "opener": 'directory' });
2464+
let toBeSavedToData = await ntxSession.send("olp.useHandler", "Files@runnova", { "opener": 'directory' });
24622465
await window.parent.unzipToFolder(toBeSavedToData + file.fileName, file.content);
24632466
},
24642467
condition: (file) => getFileExtension(file.fileName) == "zip",

appdata/gallery.html

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,16 @@
44
<head>
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width">
7-
<meta name="nova-include" content="nova.css">
8-
<meta name="nova-icon"
9-
content="<svg width='214' height='214' viewBox='0 0 214 214' fill='none' xmlns='http://www.w3.org/2000/svg'> <g clip-path='url(#clip0_6_2)'> <path d='M0 214V0H214V214H0Z' fill='white'/> <ellipse cx='124.5' cy='107' rx='35.5' ry='35' fill='#FFC853'/> <path d='M58.4553 81L142.75 133.171L108.631 214H-0.25V133.171L58.4553 81Z' fill='#9DACFF'/> <path d='M183.879 47L214 88.75V214H21L80.1272 138.85L109.691 156.835L183.879 47Z' fill='#6179FF'/> </g> <defs> <clipPath id='clip0_6_2'> <rect width='214' height='214' fill='white'/> </clipPath> </defs> </svg>">
10-
<meta name="capabilities" content=".webm,.jpeg,.png,.jpg,.webp, gallery,.mp4,.mov">
11-
<meta name="permissions" content="fileGet, unsandboxed">
7+
8+
<script type="application/json" data-for="ntxSetup">
9+
{
10+
"author":"runnova",
11+
"include": ["nova.css", "material-symbols-rounded"],
12+
"capabilities":[".webm",".jpeg",".png",".jpg",".webp",".mp4",".mov"],
13+
"permissions":["unsandboxed", "fileGet", "fileSet", "olp"],
14+
"nova-icon": "<svg width='214' height='214' viewBox='0 0 214 214' fill='none' xmlns='http://www.w3.org/2000/svg'> <g clip-path='url(#clip0_6_2)'> <path d='M0 214V0H214V214H0Z' fill='white'/> <ellipse cx='124.5' cy='107' rx='35.5' ry='35' fill='#FFC853'/> <path d='M58.4553 81L142.75 133.171L108.631 214H-0.25V133.171L58.4553 81Z' fill='#9DACFF'/> <path d='M183.879 47L214 88.75V214H21L80.1272 138.85L109.691 156.835L183.879 47Z' fill='#6179FF'/> </g> <defs> <clipPath id='clip0_6_2'> <rect width='214' height='214' fill='white'/> </clipPath> </defs> </svg>"
15+
}
16+
</script>
1217
<title>Gallery</title>
1318
<style>
1419
body {

appdata/musicplr.html

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,16 @@
55
<meta charset="utf-8">
66
<meta name="viewport" content="width=device-width">
77
<title>Music app</title>
8-
<meta name="permissions" content="unsandboxed">
9-
<meta name="aspect-ratio" content="1/1">
10-
<meta name="capabilities" content=".mp3,.flac,.m4a,.wav,.ogg, music_player">
11-
<meta name="nova-include" content="material-symbols-rounded nova.css">
12-
<meta name="nova-icon"
13-
content="<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='51' height='49.50242' viewBox='0,0,51,49.50242'><g transform='translate(-214.5,-154.75988)'><g data-paper-data='{&quot;isPaintingLayer&quot;:true}' fill-rule='nonzero' stroke-linejoin='miter' stroke-miterlimit='10' stroke-dasharray='' stroke-dashoffset='0' style='mix-blend-mode: normal'><path d='M214.5,177.00988c0,-14.08326 4.66674,-22.25 18.75,-22.25c14.08326,0 32.25,14.16674 32.25,28.25c0,14.08326 -11.89966,17.91973 -23.5,20.5c-20.43901,4.54627 -27.5,-12.41674 -27.5,-26.5z' fill='#6179ff' stroke='none' stroke-width='0' stroke-linecap='butt'/><path d='M235.26333,186.05913l-2.26753,-13.83446l11.61789,0.96088l2.46892,13.36372' fill='none' stroke='#ffffff' stroke-width='3.5' stroke-linecap='round'/><path d='M227.30363,185.33244c0.21528,-2.60295 2.4999,-4.53854 5.10285,-4.32326c2.60295,0.21528 4.53854,2.49991 4.32326,5.10286c-0.21528,2.60295 -2.49991,4.53853 -5.10286,4.32325c-2.60295,-0.21528 -4.53853,-2.4999 -4.32325,-5.10285z' fill='#ffffff' stroke='none' stroke-width='0' stroke-linecap='butt'/><path d='M239.88904,186.49159c0.20118,-2.43237 2.33609,-4.24111 4.76846,-4.03994c2.43237,0.20118 4.24111,2.33608 4.03994,4.76845c-0.20118,2.43237 -2.33608,4.24112 -4.76845,4.03995c-2.43237,-0.20118 -4.24112,-2.33609 -4.03995,-4.76846z' fill='#ffffff' stroke='none' stroke-width='0' stroke-linecap='butt'/></g></g></svg>">
8+
<script type="application/json" data-for="ntxSetup">
9+
{
10+
"author":"runnova",
11+
"include": ["nova.css", "material-symbols-rounded"],
12+
"permissions":["unsandboxed"],
13+
"aspect-ratio": "1/1",
14+
"capabilities":[".mp3",".flac",".m4a",".wav",".ogg"],
15+
"nova-icon": "<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='51' height='49.50242' viewBox='0,0,51,49.50242'><g transform='translate(-214.5,-154.75988)'><g data-paper-data='{&quot;isPaintingLayer&quot;:true}' fill-rule='nonzero' stroke-linejoin='miter' stroke-miterlimit='10' stroke-dasharray='' stroke-dashoffset='0' style='mix-blend-mode: normal'><path d='M214.5,177.00988c0,-14.08326 4.66674,-22.25 18.75,-22.25c14.08326,0 32.25,14.16674 32.25,28.25c0,14.08326 -11.89966,17.91973 -23.5,20.5c-20.43901,4.54627 -27.5,-12.41674 -27.5,-26.5z' fill='#6179ff' stroke='none' stroke-width='0' stroke-linecap='butt'/><path d='M235.26333,186.05913l-2.26753,-13.83446l11.61789,0.96088l2.46892,13.36372' fill='none' stroke='#ffffff' stroke-width='3.5' stroke-linecap='round'/><path d='M227.30363,185.33244c0.21528,-2.60295 2.4999,-4.53854 5.10285,-4.32326c2.60295,0.21528 4.53854,2.49991 4.32326,5.10286c-0.21528,2.60295 -2.49991,4.53853 -5.10286,4.32325c-2.60295,-0.21528 -4.53853,-2.4999 -4.32325,-5.10285z' fill='#ffffff' stroke='none' stroke-width='0' stroke-linecap='butt'/><path d='M239.88904,186.49159c0.20118,-2.43237 2.33609,-4.24111 4.76846,-4.03994c2.43237,0.20118 4.24111,2.33608 4.03994,4.76845c-0.20118,2.43237 -2.33608,4.24112 -4.76845,4.03995c-2.43237,-0.20118 -4.24112,-2.33609 -4.03995,-4.76846z' fill='#ffffff' stroke='none' stroke-width='0' stroke-linecap='butt'/></g></g></svg>"
16+
}
17+
</script>
1418
<style>
1519
html {
1620
height: 100%;
@@ -958,7 +962,7 @@
958962
}
959963

960964
async function openfromfiles() {
961-
const fileID = await ntxSession.send("olp.useHandler", "file_manager", { "opener": 'any', "dir": "Downloads/" });
965+
const fileID = await ntxSession.send("olp.useHandler", "Files@runnova", { "opener": 'any', "dir": "Downloads/" });
962966
const file = await ntxSession.send("fileGet.byId", fileID);
963967
readthefile(file, file.fileName);
964968
}

appdata/settings.html

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@
88
<script src="https://code.jquery.com/jquery-3.6.4.min.js"></script>
99
<script src="https://jscolor.com/release/2.5/jscolor-2.5.2/jscolor.js"></script>
1010
<script src="https://adthoughtsglobal.github.io/owifive/editor/assets/sortable.js"></script>
11-
<meta name="permissions" content="olp, settings, system, unsandboxed">
12-
<meta name="capabilities" content="settings_manager">
13-
<meta name="nova-include" content="nova.css material-symbols-rounded">
14-
<meta name="nova-icon"
15-
content="<svg width='232' height='232' viewBox='0 0 232 232' fill='none' xmlns='http://www.w3.org/2000/svg'> <g clip-path='url(#clip0_3_148)'> <rect x='28' y='28' width='175' height='175' rx='20' fill='#737373'/> <rect x='-8' y='115.5' width='174.655' height='174.655' rx='20' transform='rotate(-45 -8 115.5)' fill='#B4B4B4'/> <circle cx='115.5' cy='115.5' r='67.5' fill='white'/> <circle cx='115.5' cy='115.5' r='53.5' fill='#6179FF'/> </g> <defs> <clipPath id='clip0_3_148'> <rect width='232' height='232' fill='white'/> </clipPath> </defs> </svg>">
16-
11+
12+
<script type="application/json" data-for="ntxSetup">
13+
{
14+
"author":"runnova",
15+
"include": ["nova.css", "material-symbols-rounded"],
16+
"permissions":["olp", "settings", "system", "unsandboxed"],
17+
"nova-icon": "<svg width='232' height='232' viewBox='0 0 232 232' fill='none' xmlns='http://www.w3.org/2000/svg'> <g clip-path='url(#clip0_3_148)'> <rect x='28' y='28' width='175' height='175' rx='20' fill='#737373'/> <rect x='-8' y='115.5' width='174.655' height='174.655' rx='20' transform='rotate(-45 -8 115.5)' fill='#B4B4B4'/> <circle cx='115.5' cy='115.5' r='67.5' fill='white'/> <circle cx='115.5' cy='115.5' r='53.5' fill='#6179FF'/> </g> <defs> <clipPath id='clip0_3_148'> <rect width='232' height='232' fill='white'/> </clipPath> </defs> </svg>"
18+
}
19+
</script>
1720
<style>
1821
* {
1922
box-sizing: border-box;
@@ -1948,7 +1951,7 @@ <h1>Nova Nav</h1>
19481951
}
19491952

19501953
async function chooseNewNavPnl() {
1951-
let fileID = await ntxSession.send("olp.useHandler", "file_manager", { opener: "any", dir: "Downloads/" });
1954+
let fileID = await ntxSession.send("olp.useHandler", "Files@runnova", { opener: "any", dir: "Downloads/" });
19521955
if (!fileID) return;
19531956

19541957
let file = await ntx.fileGet.byId(fileID);
@@ -2509,7 +2512,7 @@ <h3>File Type Providers</h3>
25092512
clickedRowId = `row-${type}`;
25102513

25112514
replaceableapp = handlers;
2512-
let newHandler = await ntxSession.send("olp.useHandler", "file_manager", { "opener": "app", "dir": "Apps/" });
2515+
let newHandler = await ntxSession.send("olp.useHandler", "Files@runnova", { "opener": "app", "dir": "Apps/" });
25132516

25142517
for (let key in window.parent.handlers) {
25152518
if (window.parent.handlers.hasOwnProperty(key)) {
@@ -2627,7 +2630,7 @@ <h3>File Type Providers</h3>
26272630
}
26282631

26292632
async function edituserpfp() {
2630-
let fileid = await ntxSession.send("olp.useHandler", "file_manager", { "opener": 'any', "dir": "Downloads/" })
2633+
let fileid = await ntxSession.send("olp.useHandler", "Files@runnova", { "opener": 'any', "dir": "Downloads/" })
26312634
ntxSession.send("fileGet.byId", fileid)
26322635
.then(async (url) => {
26332636
let content = url?.content;
@@ -2964,7 +2967,7 @@ <h1>Default apps</h1>
29642967
};
29652968

29662969
document.querySelectorAll('.appInfoMngBtns')[2].onclick = async function () {
2967-
await ntxSession.send("olp.useHandler", "text_editor", appID);
2970+
await ntxSession.send("olp.useHandler", "Text@runnova", appID);
29682971
};
29692972

29702973
document.getElementById("openappwindowbtn").onclick = async function () {
@@ -3308,7 +3311,7 @@ <h1>Theme</h1>
33083311
</segr>
33093312
<segr style="margin-top: .5rem">
33103313
<div class="single_setting"
3311-
onclick="ntxSession.send('olp.useHandler','content_store', {'opener':'themes'})">
3314+
onclick="ntxSession.send('olp.useHandler','Store@runnova', {'opener':'themes'})">
33123315

33133316
<div class="settingName">
33143317
<span>Browse themes</span>
@@ -3478,7 +3481,7 @@ <h1>Icon pack <div class="betatag">beta</div>
34783481
<script>
34793482
async function saveiconpack() {
34803483
if (document.getElementById("iconpackidinp").value == '') {
3481-
let packID = await ntxSession.send("olp.useHandler", "file_manager", { "opener": 'any', "dir": "Downloads/" })
3484+
let packID = await ntxSession.send("olp.useHandler", "Files@runnova", { "opener": 'any', "dir": "Downloads/" })
34823485
document.getElementById("iconpackidinp").value = (packID) ? packID : '';
34833486
}
34843487
let iconp;
@@ -3590,7 +3593,7 @@ <h1>Icon pack <div class="betatag">beta</div>
35903593
var newurl = document.getElementById("wallpaperurl");
35913594
var oldurl = await ntxSession.send("settings.get", "wall");
35923595
if (newurl.value == '' || newurl.value == oldurl) {
3593-
let fileID = await ntxSession.send("olp.useHandler", "file_manager", { "opener": 'any', "dir": "Downloads/" })
3596+
let fileID = await ntxSession.send("olp.useHandler", "Files@runnova", { "opener": 'any', "dir": "Downloads/" })
35943597
newurl.value = (fileID) ? fileID : '';
35953598
}
35963599
await ntxSession.send("settings.set", "wall", newurl.value);

0 commit comments

Comments
 (0)