-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate-icon.js
More file actions
35 lines (34 loc) · 1.47 KB
/
create-icon.js
File metadata and controls
35 lines (34 loc) · 1.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Simple script to create instructions for icon generation
const fs = require('fs');
const path = require('path');
console.log('='.repeat(60));
console.log('WLTI Logo Icon Generation Instructions');
console.log('='.repeat(60));
console.log('');
console.log('The WLTI-Logo.svg is rectangular (1024x463 pixels).');
console.log('Tauri requires square icons for the app.');
console.log('');
console.log('Option 1: Use the HTML converter');
console.log('-'.repeat(60));
console.log('1. Open create-square-icon.html in your browser');
console.log('2. Click "Download Square Icon"');
console.log('3. Save as WLTI-Logo-Square.png in the project root');
console.log('4. Run: npm run tauri icon WLTI-Logo-Square.png');
console.log('');
console.log('Option 2: Use an online tool');
console.log('-'.repeat(60));
console.log('1. Go to https://www.iloveimg.com/resize-image');
console.log('2. Upload public/WLTI-Logo.svg');
console.log('3. Resize to 1024x1024 with white background');
console.log('4. Download and save as WLTI-Logo-Square.png');
console.log('5. Run: npm run tauri icon WLTI-Logo-Square.png');
console.log('');
console.log('Option 3: Manual with Paint/Photoshop');
console.log('-'.repeat(60));
console.log('1. Create a new 1024x1024 white canvas');
console.log('2. Import public/WLTI-Logo.svg');
console.log('3. Center it with padding');
console.log('4. Export as WLTI-Logo-Square.png');
console.log('5. Run: npm run tauri icon WLTI-Logo-Square.png');
console.log('');
console.log('='.repeat(60));