-
Notifications
You must be signed in to change notification settings - Fork 168
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
3,528 additions
and
1,171 deletions.
There are no files selected for viewing
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"appId": "figma-linux", | ||
"productName": "figma-linux", | ||
"extraMetadata": "main/main.js", | ||
"icon": "resources/256x256.png", | ||
"files": [ | ||
"**/*" | ||
], | ||
"directories": { | ||
"app": "dist/", | ||
"buildResources": "build/installers", | ||
"output": "build/installers" | ||
}, | ||
|
||
"appImage": { | ||
"systemIntegration": "doNotAsk" | ||
}, | ||
|
||
"linux": { | ||
"description": "Unofficial desktop application for linux", | ||
"icon": "resources/256x256.png", | ||
"category": "Graphic", | ||
"depends": [ | ||
"libgconf2-4" | ||
], | ||
"target": [ | ||
{ | ||
"target": "AppImage", | ||
"arch": [ | ||
"x64", | ||
"ia32" | ||
] | ||
}, | ||
{ | ||
"target": "deb", | ||
"arch": [ | ||
"x64", | ||
"ia32" | ||
] | ||
}, | ||
{ | ||
"target": "freebsd", | ||
"arch": [ | ||
"x64", | ||
"ia32" | ||
] | ||
}, | ||
{ | ||
"target": "pacman", | ||
"arch": [ | ||
"x64", | ||
"ia32" | ||
] | ||
}, | ||
{ | ||
"target": "zip", | ||
"arch": [ | ||
"x64", | ||
"ia32" | ||
] | ||
}, | ||
{ | ||
"target": "rpm", | ||
"arch": [ | ||
"x64", | ||
"ia32" | ||
] | ||
} | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
const CleanWebpackPlugin = require('clean-webpack-plugin'); | ||
const CopyWebpackPlugin = require('copy-webpack-plugin'); | ||
|
||
const path = require('path'); | ||
|
||
const rootFolder = process.cwd(); | ||
|
||
const dev = { | ||
resolve: { | ||
modules: ["node_modules", "react"], | ||
extensions: ['.ts', '.tsx', ".js", ".jsx", ".json"] | ||
}, | ||
|
||
|
||
devtool: 'source-map', | ||
|
||
plugins: [ | ||
new CleanWebpackPlugin(['dist']), | ||
|
||
new CopyWebpackPlugin([ | ||
{ | ||
from: path.join(rootFolder, 'src/package.json'), | ||
to: path.join(rootFolder, 'dist/') | ||
}, | ||
{ | ||
from: path.join(rootFolder, 'resources/*'), | ||
to: path.join(rootFolder, 'dist/') | ||
} | ||
]) | ||
] | ||
}; | ||
|
||
module.exports = dev; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
const CleanWebpackPlugin = require('clean-webpack-plugin'); | ||
const HtmlWebpackPlugin = require('html-webpack-plugin'); | ||
|
||
const path = require('path'); | ||
|
||
const rootFolder = process.cwd(); | ||
|
||
const dev = { | ||
resolve: { | ||
modules: ["node_modules", "react"], | ||
extensions: ['.ts', '.tsx', ".js", ".jsx", ".json"] | ||
}, | ||
|
||
devtool: 'source-map', | ||
|
||
plugins: [ | ||
new HtmlWebpackPlugin({ | ||
template: path.resolve(rootFolder, 'src', 'index.html'), | ||
filename: path.resolve(rootFolder, 'dist', 'index.html') | ||
}) | ||
] | ||
}; | ||
|
||
module.exports = dev; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0
resources/figma128.png → resources/128x128.png
100644 → 100755
File renamed without changes
0
resources/figma256.png → resources/256x256.png
100644 → 100755
File renamed without changes
0
resources/figma48.png → resources/48x48.png
100644 → 100755
File renamed without changes
0
resources/figma64.png → resources/64x64.png
100644 → 100755
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Figma</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.