mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-20 07:25:59 +00:00
windows file slash fix for opening folders
This commit is contained in:
parent
645b9b579a
commit
2d33461a24
|
@ -2,6 +2,8 @@ package funkin.util;
|
|||
|
||||
import flixel.util.FlxSignal.FlxTypedSignal;
|
||||
|
||||
using StringTools;
|
||||
|
||||
/**
|
||||
* Utilities for operating on the current window, such as changing the title.
|
||||
*/
|
||||
|
@ -40,7 +42,7 @@ class WindowUtil
|
|||
{
|
||||
#if CAN_OPEN_LINKS
|
||||
#if windows
|
||||
Sys.command('explorer', [targetPath]);
|
||||
Sys.command('explorer', [targetPath.replace("/", "\\")]);
|
||||
#elseif mac
|
||||
Sys.command('open', [targetPath]);
|
||||
#elseif linux
|
||||
|
|
Loading…
Reference in a new issue