Skip to content

Commit 4652c40

Browse files
committed
wip
1 parent c5cbd06 commit 4652c40

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

src/library/enigmaxml.lua

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,7 @@ older `.mus` format.
5353
]]
5454
function enigmaxml.extract_enigmaxml(filepath)
5555
local not_supported_message
56-
if not client.supports("luaosutils") and false then --finenv.UI():IsOnWindows() then
57-
-- io.popen doesn't work with our Windows PowerShell commands
58-
not_supported_message = "enigmaxma.extract_enigmaxml requires embedded luaosutils"
59-
elseif finenv.TrustedMode == finenv.TrustedModeType.UNTRUSTED then
56+
if finenv.TrustedMode == finenv.TrustedModeType.UNTRUSTED then
6057
not_supported_message = "enigmaxml.extract_enigmaxml must run in Trusted mode."
6158
elseif not finaleplugin.ExecuteExternalCode then
6259
not_supported_message = "enigmaxml.extract_enigmaxml must have finaleplugin.ExecuteExternalCode set to true."

src/library/ziputils.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@ to this version of PowerShell.
1010
- The macOS version uses `unzip` and `gunzip`.
1111
- Except as noted, the necessary tools are pre-installed with a typical installation of any version
1212
of the OS that supports 64-bit Finale.
13-
- The PowerShell commands are not compatible with `io.popen`, so Windows callers should check `client.supports("luaosutils")`
14-
before calling `client.execute` with these commands.
1513
1614
Thie library expects strings to be client-encoded. On macOS, client encoding is always utf8,
1715
but on Windows it can be any number of encodings depending on the locale settings and version of Windows.

0 commit comments

Comments
 (0)