@makano/rew 1.2.80 → 1.2.81

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -234,8 +234,8 @@ module.exports = {
234
234
  });
235
235
  } catch(e){}
236
236
  }
237
- execSync(`cp -r ${apppath} ${installPath}`);
238
- execSync(`chmod 444 ${installPath}/app.yaml`);
237
+ execSync(`${process.platform == "win32" ? 'copy' : 'cp'} -r ${apppath} ${installPath}`);
238
+ if(process.platform != "win32") execSync(`chmod 444 ${installPath}/app.yaml`);
239
239
  if (c.install) {
240
240
  if (c.install.commands) {
241
241
  for (let command of c.install.commands) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@makano/rew",
3
- "version": "1.2.80",
3
+ "version": "1.2.81",
4
4
  "description": "A simple coffescript runtime and app manager",
5
5
  "main": "main.js",
6
6
  "directories": {