|
|
@ -17,9 +17,9 @@ void main() { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void copyFont() { |
|
|
|
void copyFont() { |
|
|
|
final fontsDir = Directory('fonts'); |
|
|
|
final assetsDir = Directory('assets'); |
|
|
|
if (!fontsDir.existsSync()) { |
|
|
|
if (!assetsDir.existsSync()) { |
|
|
|
fontsDir.createSync(); |
|
|
|
assetsDir.createSync(); |
|
|
|
} |
|
|
|
} |
|
|
|
File( |
|
|
|
File( |
|
|
|
p.join( |
|
|
|
p.join( |
|
|
@ -29,7 +29,7 @@ void copyFont() { |
|
|
|
'seti', |
|
|
|
'seti', |
|
|
|
'seti.ttf', |
|
|
|
'seti.ttf', |
|
|
|
), |
|
|
|
), |
|
|
|
).copySync(p.join('fonts', 'seti.ttf')); |
|
|
|
).copySync(p.join(assetsDir.path, 'seti.ttf')); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void generateData() { |
|
|
|
void generateData() { |
|
|
|