forked from Shinonome/dots-hyprland
move trimFileProtocol to file_utils.js
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
function trimFileProtocol(str) {
|
||||
return str.startsWith("file://") ? str.slice(7) : str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user