aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Martin Nygaard Jensen <69148218+ravager-dk@users.noreply.github.com>2023-04-04 17:34:49 +0200
committerLibravatar GitHub <noreply@github.com>2023-04-04 16:34:49 +0100
commitf8079c6185ddae5fe84a73c53a4be80e5f2e21cf (patch)
treed65c28e39c442889f5a810cfa748378c67a638fd
parentadd lukassr as a contributor for code (#330) [skip ci] (diff)
downloadferdium-recipes-f8079c6185ddae5fe84a73c53a4be80e5f2e21cf.tar.gz
ferdium-recipes-f8079c6185ddae5fe84a73c53a4be80e5f2e21cf.tar.zst
ferdium-recipes-f8079c6185ddae5fe84a73c53a4be80e5f2e21cf.zip
Add Citrix workspace (#328)
-rw-r--r--recipes/citrix-workspace/icon.svg1
-rw-r--r--recipes/citrix-workspace/index.js1
-rw-r--r--recipes/citrix-workspace/package.json12
-rw-r--r--recipes/citrix-workspace/webview.js9
4 files changed, 23 insertions, 0 deletions
diff --git a/recipes/citrix-workspace/icon.svg b/recipes/citrix-workspace/icon.svg
new file mode 100644
index 0000000..12f940c
--- /dev/null
+++ b/recipes/citrix-workspace/icon.svg
@@ -0,0 +1 @@
<svg id="svg" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="400" height="400" viewBox="0, 0, 400,400"><g id="svgg"><path id="path0" d="M187.000 44.255 C 155.776 47.302,129.471 57.459,105.776 75.618 C 29.757 133.878,22.628 244.933,90.653 311.215 C 168.433 387.003,296.474 363.374,341.827 264.863 C 353.591 239.310,359.496 203.240,353.765 191.932 C 348.619 181.776,334.495 179.856,326.808 188.268 C 323.153 192.266,322.202 195.214,321.601 204.400 C 314.784 308.591,196.610 359.065,119.197 290.850 C 38.277 219.544,85.214 85.379,193.400 78.749 C 204.362 78.077,208.028 76.996,211.916 73.285 C 220.771 64.832,217.937 50.118,206.541 45.378 C 203.820 44.246,193.293 43.641,187.000 44.255 M191.600 113.872 C 118.458 121.369,87.183 210.908,139.854 262.017 C 188.097 308.828,269.036 284.849,284.378 219.200 C 289.722 196.329,284.134 183.000,269.200 183.000 C 258.424 183.000,253.033 189.179,251.402 203.400 C 248.388 229.681,233.563 245.942,207.811 251.216 C 178.759 257.166,148.447 231.886,148.318 201.600 C 148.194 172.445,168.188 151.011,197.949 148.393 C 210.121 147.323,216.512 141.774,217.103 131.763 C 217.844 119.203,207.868 112.204,191.600 113.872 M195.000 182.540 C 175.431 189.020,178.748 216.947,199.200 217.903 C 219.018 218.829,225.353 191.971,207.315 183.497 C 204.152 182.010,198.034 181.535,195.000 182.540 " stroke="none" fill="#fafbfb" fill-rule="evenodd"></path><path id="path1" d="M189.400 1.217 C 187.860 1.375,183.782 1.705,180.337 1.948 C 176.892 2.192,173.645 2.555,173.121 2.754 C 172.598 2.953,170.736 3.249,168.985 3.413 C 167.233 3.576,165.102 3.955,164.250 4.255 C 163.397 4.555,162.149 4.800,161.476 4.800 C 160.803 4.800,159.251 5.056,158.026 5.369 C 156.802 5.682,154.090 6.329,152.000 6.806 C 149.910 7.284,147.120 8.009,145.800 8.417 C 144.480 8.826,141.510 9.740,139.200 10.449 C 85.496 26.941,35.449 72.908,16.224 123.400 C 15.638 124.940,14.989 126.560,14.783 127.000 C 13.690 129.330,11.310 136.245,9.620 142.000 C 9.135 143.650,8.495 145.810,8.196 146.800 C 7.897 147.790,7.365 149.680,7.014 151.000 C 6.397 153.316,6.208 154.198,5.210 159.400 C 4.957 160.720,4.574 162.520,4.359 163.400 C 4.144 164.280,3.709 166.946,3.393 169.324 C 3.077 171.701,2.715 173.814,2.589 174.017 C 2.463 174.221,2.183 177.046,1.965 180.294 C 1.748 183.542,1.410 187.640,1.214 189.400 C 0.748 193.573,0.755 206.515,1.225 210.600 C 1.427 212.360,1.760 216.500,1.964 219.800 C 2.168 223.100,2.506 226.250,2.715 226.800 C 2.924 227.350,3.227 229.223,3.388 230.963 C 3.548 232.703,3.932 234.841,4.240 235.714 C 4.548 236.586,4.800 237.851,4.800 238.524 C 4.800 239.197,5.056 240.749,5.369 241.974 C 5.682 243.198,6.329 245.910,6.806 248.000 C 7.725 252.019,8.092 253.284,10.927 262.200 C 18.970 287.501,35.628 316.167,52.649 334.000 C 54.224 335.650,56.567 338.103,57.856 339.450 C 60.296 342.001,67.744 349.064,69.825 350.800 C 74.142 354.403,75.776 355.720,78.800 358.032 C 84.450 362.353,88.742 365.325,95.000 369.250 C 99.598 372.134,102.256 373.629,110.200 377.802 C 117.414 381.592,130.645 386.976,139.600 389.767 C 146.546 391.932,147.889 392.310,151.800 393.206 C 153.780 393.660,156.316 394.294,157.435 394.615 C 158.554 394.937,160.007 395.200,160.663 395.200 C 161.318 395.200,162.742 395.459,163.827 395.776 C 164.912 396.093,167.420 396.546,169.400 396.784 C 171.380 397.022,173.900 397.382,175.000 397.584 C 176.100 397.787,178.440 397.967,180.200 397.984 C 181.960 398.001,184.840 398.276,186.600 398.594 C 191.044 399.397,208.956 399.397,213.400 398.594 C 215.160 398.276,218.040 398.001,219.800 397.984 C 221.560 397.967,223.900 397.787,225.000 397.584 C 226.100 397.382,228.620 397.022,230.600 396.784 C 232.580 396.546,235.088 396.093,236.173 395.776 C 237.258 395.459,238.682 395.200,239.337 395.200 C 239.993 395.200,241.446 394.940,242.565 394.623 C 243.684 394.306,246.310 393.660,248.400 393.188 C 250.490 392.715,252.920 392.095,253.800 391.810 C 254.680 391.525,256.750 390.888,258.400 390.396 C 315.330 373.390,365.173 327.323,385.202 273.200 C 385.487 272.430,385.955 271.260,386.242 270.600 C 387.350 268.054,390.194 259.412,391.003 256.132 C 391.283 254.995,391.651 253.842,391.819 253.569 C 392.139 253.052,392.888 250.036,393.798 245.600 C 394.091 244.170,394.527 242.371,394.766 241.603 C 395.005 240.834,395.203 239.574,395.206 238.803 C 395.209 238.031,395.478 236.636,395.803 235.703 C 396.128 234.770,396.501 232.700,396.633 231.103 C 396.764 229.506,397.055 227.599,397.279 226.865 C 397.502 226.130,397.841 222.980,398.030 219.865 C 398.220 216.749,398.550 213.300,398.764 212.200 C 399.269 209.602,399.269 190.398,398.764 187.800 C 398.550 186.700,398.220 183.251,398.030 180.135 C 397.841 177.020,397.502 173.870,397.279 173.135 C 397.055 172.401,396.767 170.521,396.638 168.958 C 396.510 167.394,396.134 165.347,395.803 164.407 C 395.471 163.468,395.200 162.063,395.200 161.285 C 395.200 160.507,394.948 158.954,394.639 157.835 C 394.331 156.716,393.685 154.090,393.203 152.000 C 392.722 149.910,392.083 147.390,391.783 146.400 C 391.484 145.410,390.588 142.440,389.794 139.800 C 389.000 137.160,388.091 134.409,387.775 133.686 C 387.459 132.964,387.200 132.189,387.200 131.964 C 387.200 131.740,386.863 130.801,386.451 129.878 C 386.040 128.955,385.337 127.210,384.891 126.000 C 369.599 84.550,333.787 45.064,291.800 23.359 C 278.586 16.528,270.861 13.469,253.600 8.231 C 249.388 6.952,239.911 4.800,238.496 4.800 C 237.838 4.800,236.603 4.555,235.750 4.255 C 234.898 3.956,232.940 3.583,231.400 3.428 C 229.860 3.272,227.924 2.970,227.099 2.757 C 226.273 2.543,223.033 2.194,219.899 1.980 C 216.764 1.766,212.580 1.426,210.600 1.224 C 206.438 0.800,193.504 0.795,189.400 1.217 M206.541 45.378 C 217.937 50.118,220.771 64.832,211.916 73.285 C 208.028 76.996,204.362 78.077,193.400 78.749 C 85.214 85.379,38.277 219.544,119.197 290.850 C 196.610 359.065,314.784 308.591,321.601 204.400 C 322.202 195.214,323.153 192.266,326.808 188.268 C 334.495 179.856,348.619 181.776,353.765 191.932 C 356.344 197.020,356.641 204.862,354.800 219.200 C 340.433 331.090,216.646 391.659,120.219 333.981 C 29.899 279.956,17.419 156.262,95.058 84.594 C 120.307 61.286,151.153 47.753,187.000 44.255 C 193.293 43.641,203.820 44.246,206.541 45.378 M203.723 114.197 C 212.419 116.462,217.604 123.270,217.103 131.763 C 216.512 141.774,210.121 147.323,197.949 148.393 C 168.188 151.011,148.194 172.445,148.318 201.600 C 148.447 231.886,178.759 257.166,207.811 251.216 C 233.563 245.942,248.388 229.681,251.402 203.400 C 253.033 189.179,258.424 183.000,269.200 183.000 C 284.134 183.000,289.722 196.329,284.378 219.200 C 269.036 284.849,188.097 308.828,139.854 262.017 C 97.044 220.476,108.289 148.880,161.800 122.299 C 174.853 115.815,194.992 111.923,203.723 114.197 M207.315 183.497 C 225.353 191.971,219.018 218.829,199.200 217.903 C 178.748 216.947,175.431 189.020,195.000 182.540 C 198.034 181.535,204.152 182.010,207.315 183.497 " stroke="none" fill="#2474c4" fill-rule="evenodd"></path></g></svg> \ No newline at end of file
diff --git a/recipes/citrix-workspace/index.js b/recipes/citrix-workspace/index.js
new file mode 100644
index 0000000..dd41f72
--- /dev/null
+++ b/recipes/citrix-workspace/index.js
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
diff --git a/recipes/citrix-workspace/package.json b/recipes/citrix-workspace/package.json
new file mode 100644
index 0000000..b7f8619
--- /dev/null
+++ b/recipes/citrix-workspace/package.json
@@ -0,0 +1,12 @@
1{
2 "id": "citrix-workspace",
3 "name": "Citrix Workspace",
4 "version": "1.0.0",
5 "license": "MIT",
6 "config": {
7 "serviceURL": "https://{teamId}.cloud.com",
8 "hasNotificationSound": true,
9 "hasTeamId": true,
10 "urlInputSuffix": ".cloud.com"
11 }
12}
diff --git a/recipes/citrix-workspace/webview.js b/recipes/citrix-workspace/webview.js
new file mode 100644
index 0000000..56a20b6
--- /dev/null
+++ b/recipes/citrix-workspace/webview.js
@@ -0,0 +1,9 @@
1const _path = _interopRequireDefault(require('path'));
2
3function _interopRequireDefault(obj) {
4 return obj && obj.__esModule ? obj : { default: obj };
5}
6
7module.exports = Ferdium => {
8 Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
9};