PDF Reader Settings, New Reading Modes, and lots of fixes (#2828)
Co-authored-by: Elry <144011449+ElryWeeb@users.noreply.github.com> Co-authored-by: AlienHack <the4got10@windowslive.com> Co-authored-by: William Brockhus <pickeringw@gmail.com> Co-authored-by: Shivam Amin <xShivam.Amin@gmail.com>
This commit is contained in:
parent
f22f30b5a9
commit
2bde0ac82a
55 changed files with 4410 additions and 439 deletions
|
@ -14,6 +14,15 @@ function generateChecksum(str, algorithm, encoding) {
|
|||
|
||||
const result = {};
|
||||
|
||||
// Generate directory if it doesn't exist
|
||||
const distFolderPath = './dist/';
|
||||
const browserFolderPath = './dist/browser/';
|
||||
if (!fs.existsSync(browserFolderPath)) {
|
||||
console.log('Creating ./dist/browser folder');
|
||||
fs.mkdirSync(distFolderPath, 0o744);
|
||||
fs.mkdirSync(browserFolderPath, 0o744);
|
||||
}
|
||||
|
||||
// Remove file if it exists
|
||||
const cacheBustingFilePath = './i18n-cache-busting.json';
|
||||
if (fs.existsSync(cacheBustingFilePath)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue