Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ChugunovRoman committed Jul 18, 2019
2 parents a697b06 + 3ac1d10 commit 5e033a5
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 2 deletions.
36 changes: 36 additions & 0 deletions config/builder.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,42 @@
"systemIntegration": "doNotAsk"
},

"snap": {
"plugs": [
{
"personal-files": {
"interface": "personal-files",
"allow-auto-connection": true,
// "allow-sandbox": true,
"read": [
"$HOME/.config",
"$HOME/.fonts",
"$HOME/.local/share/fonts",
"$HOME/snap/figma-linux/x1/.config/figma-linux/Settings"
],
"write": [
"$HOME/.config",
"$HOME/.fonts",
"$HOME/.local/share/fonts",
"$HOME/snap/figma-linux/x1/.config/figma-linux/Settings"
]
}
},
"desktop",
"desktop-legacy",
"home",
"x11",
"unity7",
"browser-support",
"network",
"gsettings",
"pulseaudio",
"opengl",
"gsettings",
"block-devices"
]
},

"linux": {
"description": "Unofficial desktop application for linux",
"icon": "resources/icon",
Expand Down
Binary file added lib/libm.so.6
Binary file not shown.
Binary file added lib/libpng16.so.16
Binary file not shown.
Binary file added lib/libz.so.1
Binary file not shown.
1 change: 0 additions & 1 deletion src/middleware/webApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export default (args: IIntiApiOptions) => {
fileBrowser: args.fileBrowser,
postMessage: function (name, args, transferList) {
console.log('postMessage, name, args, transferList: ', name, args, transferList);
window.__figmaDesktop.fileBrowser = false;

// FIXME: ugly hack
if (!/recent/.test(window.location.href) && name === 'updateActionState') {
Expand Down
1 change: 0 additions & 1 deletion src/middleware/webBinding.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ const initWebApi = (props: IIntiApiOptions) => {
fileBrowser: props.fileBrowser,
postMessage: function (name, args, transferList) {
console.log('postMessage, name, args, transferList: ', name, args, transferList);
window.__figmaDesktop.fileBrowser = false;

// FIXME: ugly hack
if (!/recent/.test(window.location.href) && name === 'updateActionState') {
Expand Down

0 comments on commit 5e033a5

Please sign in to comment.