Support high quality images
This commit is contained in:
@@ -24,9 +24,6 @@ global.step = process.argv[2] || 1;
|
|||||||
*/
|
*/
|
||||||
global.renderDir = path.join(__dirname, 'frames');
|
global.renderDir = path.join(__dirname, 'frames');
|
||||||
|
|
||||||
// Set the display scale factor to 1
|
|
||||||
app.commandLine.appendSwitch('force-device-scale-factor', 1);
|
|
||||||
|
|
||||||
// Hide the Dock for macOS
|
// Hide the Dock for macOS
|
||||||
if (os.platform() == 'darwin') {
|
if (os.platform() == 'darwin') {
|
||||||
app.dock.hide();
|
app.dock.hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user