Releases: meters-on-demand/cli
v1.9.9 last release before 2.0
I'm releasing this to fix ExecutionPolicy issues before I start work on 2.0 and turning Meters on Demand.ps1 to a PowerShell module.
Changelog
- Install supports installing from git urls
- User settings / configuration. Most impactful is
mond config AlwaysUpdate
which is set to True by default. It refreshes the cache for every search and install command. No need tomond update
anymore!- You can use
mond config AlwaysUpdate false
to disable this.
- You can use
- Install process enhancements
- Bypasses ExecutionPolicy (it will not change it, you might need to
Set-ExecutionPolicy Unrestriced -Scope LocalUser
) - Can recover from ECONNREFUSED (no connectivity or api is blocked by firewall)
- Installer skin shows status
- Keeps existing user configuration
- Bypasses ExecutionPolicy (it will not change it, you might need to
- Better bang support
mond bang
command with-Start
-Stop
and-NoStart
switches. Usemond help bang
for more info- There's also an alias for mond bang which lets you use the bang command directly eg.
bang "!ActivateConfig Mondtholomew\Clock"
v1.3.0 new dev stuff!
User changelog
- Fixed a lot of bugs
- Documentation site https://docs.rainmeter.skin/
- Better install error handling
Skin developer changelog
- New command
lock
which generates a.lock.inc
file listing the plugins the skin uses- This is a surprise tool that will help us later :3
- New command
open
which opens the specified skin in your#CONFIGEDITOR#
Meters on Demand developer changelog
- Improved script structure from the .bat file to code splitting
- Moved all global variables inside the
$MetersOnDemand
object to stop polluting the scope when sourcing- Sourcing still not recommended, see https://docs.rainmeter.skin/cli/sourcing.html
- TL;DR calling the mond command (eg.
& mond install reisir/mondtholomew
) from your script as if it was a user works for most things. - You may still need to source to get access to the return value of Search, $MetersOnDemand.Cache.Skins and other objects
- New debug command
config
prints$MetersOnDemand
and$MetersOnDemand.Cache
- New debug command
cache
prints$MetersOnDemand.Cache
- New debug command
skins
prints$MetersOnDemand.Cache.Skins
- New debug command
<property>
prints$MetersOnDemand.$Property
or$MetersOnDemand.Cache.$Property
- New mond dev command
dir
opens the directory of the live Meters on Demand install - New mond dev command
refresh
reinstalls Meters on Demand
v1.2.5
v1.2.4b
Changelog for v1.2.4b
- Fixed a bug that caused first time installs to fail in v1.2.4
- Better install reporting, now opens the Rainmeter About window and prints progress and errors
Original changelog for v1.2.4:
- New command:
mond init <SkinName>
- Creates a new skin and opens the folder in your
#CONFIGEDITOR#
(set in Rainmeter settings)
- Creates a new skin and opens the folder in your
- Better install process (of mond itself, doesn't affect mond install)
-version
is now reserved for overriding the skin version when using mond package- Use
mond version
to get the mond version.-version
was never documented.
- Use
- MonD now behaves under PSRM :3
v1.2.4
v1.2.3
🔍 Install now searches for available skins
You can now mond install mondtholomew
and it'll work. If you're a skin author, you should still always tell users to use the full name of your skin (eg. reisir/mondtholomew) but it's now easier to install skins without having to type so much.
🧟 Zombie skins will now be detected and eradicated
Previously if you manually uninstalled a skin, MonD wouldn't notice and would just keep the deleted skin in the cache. Now the install status is checked for each skin, every time the cache is updated.
✏️ Skin name changes are now detected by the API
If a skin was included in the Meters on Demand database and the repo name or owner changed, a duplicate would be created. This issue stemmed from the API using the repos original creator in it's checks. The same issue also made this repo meters-on-demand/cli
not be detected by the API for who knows how long, so you might not get v1.2.3 without forcing an update.
Use mond install meters-on-demand/cli -Force
to install v1.2.3 if you're affected by this
v1.2.1
v1.2.0b mond package
MonD Package
Added mond package
command that creates an .rmskin package from a specified skin.
Features:
- Automatically detects the used plugins and includes them in the package.
- Supports all of the functionality that the Skin Packager does (except the "merge skins" checkbox).
- Set up the optional configuration file once,
mond package
as many times as you like! - It just works. If it doesn't open an issue or join the Rainmeter discord and send your complaint to me (@reisir).
Usage:
# Specify skin to package
mond package -Skin "Meters on Demand"
# Running in a skin folder will package that skin
Skins\Mondtholomew> mond package
See the package guide or mond help package
for full instructions.
Other changes:
- Improved
mond help
Disclaimer
The original v1.2.0 had a minor issue which prevented any future self updates through the Rainmeter Skin Installer... I knew there was a reason I chose to copy the files outside of the installers #ROOTCONFIG#. So if mond version
reports v1.2.0
for you, you need to install this update manually.
v1.1.1 Fix connection error on PS < 6 when IE isn't available
Added -UseBasicParsing
to the Get-Request
function.
v1.1.0 PSRM Support
MetersOnDemand.ps1 can now be used directly as the ScriptFile in a PowershellRM plugin measure. You can also source it . .\MetersOnDemand.ps1
and use the functions in your own script.
[MonD]
Measure=Plugin
Plugin=PowershellRM
ScriptFile=[#SKINSPATH]#Mond\MetersOnDemand.ps1