pokemon-terminal-theme 1.3.8 → 1.3.9

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.
Files changed (3) hide show
  1. package/ichooseyou +5 -1
  2. package/package.json +1 -1
  3. package/pokemon +5 -1
package/ichooseyou CHANGED
@@ -11,7 +11,11 @@ const mainScript = path.join(__dirname, 'pokemonterminal', 'main.py');
11
11
  // Spawn the Python process
12
12
  const child = spawn(pythonExecutable, [mainScript, ...process.argv.slice(2)], {
13
13
  stdio: 'inherit',
14
- cwd: __dirname
14
+ cwd: __dirname,
15
+ env: {
16
+ ...process.env,
17
+ PYTHONPATH: __dirname
18
+ }
15
19
  });
16
20
 
17
21
  child.on('exit', (code) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pokemon-terminal-theme",
3
- "version": "1.3.8",
3
+ "version": "1.3.9",
4
4
  "description": "Pokemon terminal themes",
5
5
  "bin": {
6
6
  "pokemon": "pokemon",
package/pokemon CHANGED
@@ -11,7 +11,11 @@ const mainScript = path.join(__dirname, 'pokemonterminal', 'main.py');
11
11
  // Spawn the Python process
12
12
  const child = spawn(pythonExecutable, [mainScript, ...process.argv.slice(2)], {
13
13
  stdio: 'inherit',
14
- cwd: __dirname
14
+ cwd: __dirname,
15
+ env: {
16
+ ...process.env,
17
+ PYTHONPATH: __dirname
18
+ }
15
19
  });
16
20
 
17
21
  child.on('exit', (code) => {