mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2026-10-25 00:02:16 +00:00
Fix windows ability to checkout project #201
Avoid ':' in filenames by stripping 'remote:' file extension prefix: - Rename `skeleton.remote:llvm-mos` to `skeleton.llvm-mos`, which allow Windows users to once again checkout the repo. - Update `getSkeletonFile` to strip 'remote:'.
This commit is contained in:
1 parent
55984a3478
commit
b7cea553cd
2 files changed
+1
-1
No files matched your search
File renamed without changes.
+1
-1
@@ -489,7 +489,7 @@ function reloadProject(id: string) {
|
||||
}
|
||||
|
||||
async function getSkeletonFile(fileid: string): Promise<string> {
|
||||
var ext = platform.getToolForFilename(fileid);
|
||||
var ext = platform.getToolForFilename(fileid).replace(/^remote:/, "");
|
||||
try {
|
||||
return await $.get("presets/" + getBasePlatform(platform_id) + "/skeleton." + ext, 'text');
|
||||
} catch (e) {
|
||||
|
||||
Reference in new issue
Block a user