Commit 9efc481b authored by Andreas Heimann's avatar Andreas Heimann

disabled copy protection for now

parent 68344da7
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
"description": "SpinSha.re Client", "description": "SpinSha.re Client",
"homepage": "https://spinsha.re", "homepage": "https://spinsha.re",
"copyright": "Copyright © SpinSha.re", "copyright": "Copyright © SpinSha.re",
"version": "2.4.3", "version": "2.4.4",
"author": "SpinSha.re", "author": "SpinSha.re",
"private": true, "private": true,
"scripts": { "scripts": {
......
...@@ -49,7 +49,7 @@ class SRXD { ...@@ -49,7 +49,7 @@ class SRXD {
async installBackup(backupLocation, gameDirLocation) { async installBackup(backupLocation, gameDirLocation) {
// Copy Protection // Copy Protection
// Check if game copy is legitimate // Check if game copy is legitimate
let piratePath = path.join(app.getPath('userData'), "..", "Goldberg SteamEmu Saves"); /* let piratePath = path.join(app.getPath('userData'), "..", "Goldberg SteamEmu Saves");
try { try {
let isAPirate = fs.lstatSync(piratePath).isDirectory(); let isAPirate = fs.lstatSync(piratePath).isDirectory();
...@@ -68,7 +68,7 @@ class SRXD { ...@@ -68,7 +68,7 @@ class SRXD {
} }
} catch(error) { } catch(error) {
}; }; */
await ncp(backupLocation, gameDirLocation, function(error) { await ncp(backupLocation, gameDirLocation, function(error) {
if(error) { if(error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment