Skip to content

Commit

Permalink
Copying assets if smoller or equal to 1920x1080
Browse files Browse the repository at this point in the history
  • Loading branch information
Unthrottled committed Dec 14, 2021
1 parent 674a337 commit 9911295
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildSrc/AssetGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ const createSmolWallpaper = (
const height = img.getHeight();
if(width <= 1920) {
console.log(`Didn't need to do anything for ${transparentWallpaperPath}`);
fs.copyFileSync(
transparentWallpaperPath, smolWallpaperPath
)
resolve()
} else {
const newWidth = 1920;
Expand Down

0 comments on commit 9911295

Please sign in to comment.