It is currently April 27th, 2024, 7:50 pm

Problem when create .rmskin file

General topics related to Rainmeter.
User avatar
XANCI
Posts: 104
Joined: September 18th, 2011, 6:37 am
Location: Nanjing, China

Problem when create .rmskin file

Post by XANCI »

I made a launcher skin with LUA so it can simply add items by edit a .inc file:

Code: Select all

[Variables]
LauncherNum=X
LauncherIcon1=
LauncherPath1=
LauncherIcon2=
LauncherPath2=
...
...
LauncherIconX=
LauncherPathX=
just make sure with your give LauncherNum=X, you have all "LauncherIcon" & "LauncherPath" from 1 to X set

and then in Rainstaller.cfg I set "KeepVar" to this .inc file

the problem is that the default setting in .rmskin package was like this

Code: Select all

[Variables]
LauncherNum=1
LauncherIcon1=Icons\ie.png
LauncherPath1="C:\Program Files (x86)\Internet Explorer\iexplore.exe"
and if otherdays I update this skin to a new version (surely I will), someone who using this skin before will lost his setting other than "LauncherNum","LauncherIcon1","LauncherPath1"

so I'm wondering if it possible when "KeepVar" works, it DOESN'T delete variables which aren't in the new .inc file?
poiru
Developer
Posts: 2872
Joined: April 17th, 2009, 12:18 pm

Re: Problem when create .rmskin file

Post by poiru »

The bad news is that this isn't possible with the current .rmskin format. The good news is that a new .rmskin format is in the works and I'll make sure to implement this into it :)
User avatar
XANCI
Posts: 104
Joined: September 18th, 2011, 6:37 am
Location: Nanjing, China

Re: Problem when create .rmskin file

Post by XANCI »

poiru wrote:The bad news is that this isn't possible with the current .rmskin format. The good news is that a new .rmskin format is in the works and I'll make sure to implement this into it :)
that would be nice