Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: BenZed/after-effects
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: ArtyomHov/after-effects
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 3 commits
  • 2 files changed
  • 2 contributors

Commits on Nov 11, 2018

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    86cff1a View commit details

Commits on Jun 25, 2023

  1. Created using Colaboratory

    ArtyomHov committed Jun 25, 2023
    Copy the full SHA
    b92127d View commit details
  2. Copy the full SHA
    9d89965 View commit details
Showing with 4 additions and 5 deletions.
  1. +0 −1 lib/command.js
  2. +4 −4 lib/platform-win.js
1 change: 0 additions & 1 deletion lib/command.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
'use strict';

/*******************************************************************/
// DEPENDENCIES
/*******************************************************************/
8 changes: 4 additions & 4 deletions lib/platform-win.js
Original file line number Diff line number Diff line change
@@ -68,12 +68,12 @@ module.exports = {
return create_jsx_script(command)
//Execute JSX Script
.then( jsx => new Promise( resolve => {
exec(`afterfx.exe -r ${jsx.script}`, {cwd: jsx.program_path}, (/*err, stdout, stderr*/) => {
exec(`afterfx.exe -noui -r ${jsx.script}`, {cwd: jsx.program_path}, (/*err, stdout, stderr*/) => {
// see * below
//if (err) return reject(err);
//if (stderr) return reject(stderr);
fs.unlink(jsx.script, function (err) {
if (err) console.error(err)
if (err) console.error(err);
});

resolve();
@@ -86,7 +86,7 @@ module.exports = {
const jsx = create_jsx_script(command, true);
//Execute JSX
try {
execSync(`afterfx.exe -r ${jsx.script}`, {cwd: jsx.program_path});
execSync(`afterfx.exe -noui -r ${jsx.script}`, {cwd: jsx.program_path});
} catch (err) {
//TODO *
//I don't know why, executing a child process always throws an error in
@@ -95,7 +95,7 @@ module.exports = {
}

fs.unlink(jsx.script, function (err) {
if (err) console.error(err)
if (err) console.error(err);
});
},