Help-14 3 роки тому
батько
коміт
675f3ca89e

+ 0 - 0
tools/screenshot/config/flame/config.yaml → sample/flame/config.yaml


+ 0 - 0
tools/screenshot/config/flame/data.yaml → sample/flame/data.yaml


+ 0 - 0
tools/screenshot/config/leaf/config.yaml → sample/leaf/config.yaml


+ 0 - 0
tools/screenshot/config/leaf/data.yaml → sample/leaf/data.yaml


+ 0 - 0
tools/screenshot/config/simplefox/config.yaml → sample/simplefox/config.yaml


+ 0 - 0
tools/screenshot/config/simplefox/css/core.css → sample/simplefox/css/core.css


+ 0 - 0
tools/screenshot/config/simplefox/data.yaml → sample/simplefox/data.yaml


+ 1 - 1
tools/screenshot/app.js

@@ -25,7 +25,7 @@ const sleep = ms => new Promise(r => setTimeout(r, ms));
 
 
     const themes = ["simplefox"]//getDirectories("./config");
     const themes = ["simplefox"]//getDirectories("./config");
     for (const theme of themes) {
     for (const theme of themes) {
-        replaceFiles(`./config/${theme}`, '../../src/data');
+        replaceFiles(`../../sample/${theme}`, '../../src/data');
         exec('cd ../../src/ && go run main.go');
         exec('cd ../../src/ && go run main.go');
         await sleep(500);
         await sleep(500);