Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ChugunovRoman committed May 23, 2019
2 parents ee35528 + 238bbe9 commit a697b06
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
15 changes: 5 additions & 10 deletions config/builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,13 @@
{
"target": "AppImage",
"arch": [
"x64",
"ia32"
"x64"
]
},
{
"target": "deb",
"arch": [
"x64",
"ia32"
"x64"
]
},
{
Expand All @@ -62,22 +60,19 @@
{
"target": "zip",
"arch": [
"x64",
"ia32"
"x64"
]
},
{
"target": "rpm",
"arch": [
"x64",
"ia32"
"x64"
]
},
{
"target": "pacman",
"arch": [
"x64",
"ia32"
"x64"
]
}
]
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "figma-linux",
"version": "0.5.0",
"version": "0.5.1",
"description": "Figma is the first interface design tool based in the browser, making it easier for teams to create software.",
"main": "src/main/index.js",
"repository": "[email protected]:ChugunovRoman/figma-linux.git",
Expand Down
4 changes: 4 additions & 0 deletions src/middleware/webBinding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ const initWebApi = (props: IIntiApiOptions) => {

console.log('args.fileBrowser: ', typeof props.fileBrowser, props.fileBrowser);

if (/file\/.+/.test(location.href)) {
props.fileBrowser = false;
}

window.__figmaDesktop = {
version: props.version,
fileBrowser: props.fileBrowser,
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "figma-linux",
"version": "0.5.0",
"version": "0.5.1",
"description": "Figma is the first interface design tool based in the browser, making it easier for teams to create software.",
"main": "main/main.js",
"repository": "[email protected]:ChugunovRoman/figma-linux.git",
Expand Down

0 comments on commit a697b06

Please sign in to comment.