mirror of
https://github.com/wavetermdev/wails.git
synced 2026-04-22 15:26:15 -07:00
Compare commits
1255 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 81b3ecb056 | |||
| b4d14644ee | |||
| 69fd584c32 | |||
| 3444ec50a7 | |||
| 02d4c65e01 | |||
| efdcfe9985 | |||
| 5884b7a87c | |||
| 7229446ce7 | |||
| c355d63768 | |||
| eb0030adeb | |||
| fe224d9ecd | |||
| a98d55db58 | |||
| f034163da5 | |||
| d8fe011509 | |||
| e7bb3b3e83 | |||
| 3201206d4f | |||
| 69c14d2a5d | |||
| 778cbe04d9 | |||
| 131a8f421d | |||
| 6fcd4b7bd4 | |||
| f3b2f6ab76 | |||
| b556e860c4 | |||
| eb01a005dc | |||
| 6dcee51940 | |||
| 4c7a53b72b | |||
| 73c9fba731 | |||
| 0726ae9e83 | |||
| 9ba4ca10ca | |||
| 38caa645e5 | |||
| 41507e966a | |||
| 3092f04bcf | |||
| ffc0765a2f | |||
| ac803aa426 | |||
| 92b63d9fad | |||
| fda3323386 | |||
| b7a4aba5f3 | |||
| 7848a028e3 | |||
| d827aafe89 | |||
| db8094cd68 | |||
| 59d29dc12f | |||
| 7aad934dae | |||
| 0b1e33748a | |||
| 97be694d2a | |||
| 576e574399 | |||
| 6d9a195830 | |||
| 8107a8bd1e | |||
| 47d783291d | |||
| 0295f8dee2 | |||
| d915f73c6c | |||
| 187bf3085c | |||
| a353a653d1 | |||
| 155f1fde49 | |||
| ec1a535acb | |||
| fb5bcdc364 | |||
| e6f42247e7 | |||
| 4bc0b30231 | |||
| 1cd2645b87 | |||
| 7904d0aadc | |||
| 06fa6850a1 | |||
| 485f5831ac | |||
| 587bcd8e21 | |||
| d43b7b1882 | |||
| ca147143ad | |||
| 3371967dad | |||
| b09825ab0f | |||
| 5edf45468c | |||
| 507e8d5222 | |||
| b9283009df | |||
| 60ddaf449d | |||
| 5bad81e182 | |||
| 2e15f22621 | |||
| 6a3a822640 | |||
| e5057e1627 | |||
| 0a8f720586 | |||
| 5dbfb447b1 | |||
| 1f21dfbcfd | |||
| 53481830a9 | |||
| 7eb8e6456e | |||
| 5f0352404b | |||
| b036b8c547 | |||
| 39ca977b18 | |||
| abc078fb1b | |||
| 166490845c | |||
| c2399e3620 | |||
| a2890b6d0d | |||
| a1dee989c7 | |||
| 6ff1dac925 | |||
| 0b011929bf | |||
| be3d1ff9e1 | |||
| 9c73b7285f | |||
| 810793aba7 | |||
| ef8d7d2fd7 | |||
| ae341be638 | |||
| dcef8679d2 | |||
| 0bb09a53ea | |||
| deb1156916 | |||
| 1d87a81f63 | |||
| 8ef8b2528b | |||
| f05109232e | |||
| cf1001bffc | |||
| 7bf2218c36 | |||
| 48c9879bc4 | |||
| 2fe5e5ed01 | |||
| 38fd09bd9a | |||
| 4c5a81782b | |||
| ace3122e07 | |||
| f5c35487d9 | |||
| 06df0e1ee4 | |||
| 9735bd1b01 | |||
| cd8bad58cd | |||
| 53a3cd9422 | |||
| 5e2f25af9b | |||
| 865d118651 | |||
| 6ea6bfeed0 | |||
| 48527eb90a | |||
| 33d8f98da9 | |||
| 658a30d16a | |||
| 0189d1cb55 | |||
| 8df94fa02b | |||
| f5f89c31eb | |||
| 46cb34f2ec | |||
| f6f13540c8 | |||
| 21ce7709ab | |||
| d569e37b81 | |||
| c9c6edeb84 | |||
| 9525667ebd | |||
| 28a3d86348 | |||
| fc8aa58e62 | |||
| cb2bbacae8 | |||
| c3c6261a2d | |||
| 8bfec24108 | |||
| 9ad2665ad8 | |||
| 28894868e3 | |||
| a8fcd994c9 | |||
| c678ab7d01 | |||
| 3a93c08813 | |||
| ab1469638f | |||
| 9073caf287 | |||
| 1bed8234c9 | |||
| 621c70253d | |||
| 56ef4ddd47 | |||
| bad9ad3dd7 | |||
| 36570645ff | |||
| 3711bdc41e | |||
| cbdcd9f63e | |||
| a9268bc56e | |||
| f489347fca | |||
| 663925f9e8 | |||
| cc2651c377 | |||
| e651b9c7ff | |||
| bcad236fb6 | |||
| 0af8d506c1 | |||
| 0b65a0f508 | |||
| b03a758747 | |||
| 44597f2fbc | |||
| 0844113f3a | |||
| 79e99b68d6 | |||
| c64b7bb79c | |||
| e72b438ad2 | |||
| 3e4a112a3d | |||
| a020b67f67 | |||
| fa958e7a07 | |||
| 1a3e81a3f8 | |||
| 0eb7a8a771 | |||
| 2fa004808f | |||
| cc5fd30256 | |||
| c90bfc310a | |||
| 62d1d621aa | |||
| 6e8cbb8e8f | |||
| 32fa543164 | |||
| 04f93ac54e | |||
| 3c87d13b21 | |||
| 0949eab72e | |||
| aab67b416f | |||
| 83a575e43f | |||
| 333949ee53 | |||
| 1d1238cea3 | |||
| bd7b436631 | |||
| c136df48b9 | |||
| a090a689cf | |||
| 5ef2448a0c | |||
| 06ab4c88ad | |||
| 48efdea11a | |||
| 43cc55cb0a | |||
| 71f2436562 | |||
| 4653c77a81 | |||
| 72b05c6b44 | |||
| b5f68e24d6 | |||
| 3948c8ca61 | |||
| cf3a868e3a | |||
| 43c29abb23 | |||
| 7ef445f526 | |||
| f6c2d4ae6b | |||
| 8f9fae6ad9 | |||
| b45f264e2a | |||
| 986f8f48c7 | |||
| bbc2e86286 | |||
| 2dc126bf19 | |||
| 86cbcdc089 | |||
| 1dd957f461 | |||
| 4be4946756 | |||
| 65979cbc75 | |||
| 6a7118ff6d | |||
| a88b3553ba | |||
| fd5348d26d | |||
| 569569f1fc | |||
| 489b9b358b | |||
| 71cfdfc7c8 | |||
| 6ebf4ed428 | |||
| 5be0739c5d | |||
| 6721e59277 | |||
| 77775d85ab | |||
| 6de0865c3e | |||
| f9e559f069 | |||
| 9a4c603001 | |||
| 98a95e99a5 | |||
| d19c982eed | |||
| a963836e75 | |||
| 00e9eb4b0b | |||
| 262b6281e1 | |||
| f66c70f0be | |||
| 717d373668 | |||
| d29fa94aa4 | |||
| 01dd0cd0b2 | |||
| 126cc78d1a | |||
| 5703d465fc | |||
| 0c2963cf53 | |||
| b61fd16936 | |||
| 3a8ba96cb3 | |||
| 3b1d74cf84 | |||
| 2e0a6f95a0 | |||
| 8470bfb26b | |||
| bea0c1446a | |||
| 35ebbdfa12 | |||
| bb25b3f42f | |||
| 4a11f9bb20 | |||
| c1a20d0509 | |||
| 32c3721b1b | |||
| 913cc56adf | |||
| 38f37e817b | |||
| 4e68f92083 | |||
| 3edbda313e | |||
| 04cde94c96 | |||
| 1faa962cf5 | |||
| 94a74520be | |||
| 27dd40fd29 | |||
| 616ecabb41 | |||
| 15cd325034 | |||
| 450eb2e7ae | |||
| 84622b829c | |||
| a1323ce5e9 | |||
| 49629f6dc6 | |||
| 231848cb9e | |||
| a51d8bb47d | |||
| e0e4c0ae11 | |||
| d47b3734af | |||
| 26d248a4b6 | |||
| 6413a6fb4d | |||
| 5e36f4fc7f | |||
| b47c278c95 | |||
| 81a9619fd7 | |||
| ce103af77b | |||
| 2649c3d17d | |||
| a35cc035b0 | |||
| a94a720a68 | |||
| 995fe38ee4 | |||
| 7fd311f7a6 | |||
| 356774e3f7 | |||
| 5d8653be83 | |||
| 8b5bcdfeff | |||
| f6655d019f | |||
| 8f31183fa8 | |||
| 64528b4f02 | |||
| 7945853294 | |||
| b0df3f5c39 | |||
| 7caf6af91d | |||
| dd7c6a3d58 | |||
| cfbeb1efd1 | |||
| 3022b0bf3f | |||
| 3723c41d15 | |||
| 2729081f2c | |||
| cad1317fc8 | |||
| 1368c20029 | |||
| 0acfdd1516 | |||
| 212a20626a | |||
| 722ecc969b | |||
| 078145c030 | |||
| 3765c8fb57 | |||
| 10ac38c650 | |||
| a16e41f813 | |||
| 1bd3deb39f | |||
| be5f7ceb0e | |||
| 6943b657c9 | |||
| a148c67df0 | |||
| 69297667c1 | |||
| 1ae9469e90 | |||
| d597d8e1c9 | |||
| d32152ed84 | |||
| d28a7e8987 | |||
| ef362a746a | |||
| c16c95673e | |||
| d426fc46b5 | |||
| 0efeed4d7f | |||
| a11a75fa12 | |||
| 2d551cd019 | |||
| 37259b8adb | |||
| d5cfcc80f7 | |||
| 25564b7211 | |||
| 661b24cfa2 | |||
| 75f703465a | |||
| 9949420639 | |||
| 9e347bf71f | |||
| 829fd8616b | |||
| ae980d48fd | |||
| ba9e64f53a | |||
| b15d98b555 | |||
| bdda454f69 | |||
| a59d01ddb9 | |||
| 27f8df2b31 | |||
| 1b28f69236 | |||
| 7572b64bec | |||
| f6b83b0933 | |||
| a51ab25e2c | |||
| aeaaccb942 | |||
| 4bf3eb303b | |||
| b5437ed1b5 | |||
| e2e752dd06 | |||
| 9dc2caecf0 | |||
| b0da974a7d | |||
| b4dc8c252a | |||
| afb1d12c3b | |||
| 7a0cb428f2 | |||
| e6a89790e3 | |||
| daede02c16 | |||
| 417895f40b | |||
| 6bc26aa669 | |||
| a641deb388 | |||
| e013ce14a1 | |||
| 9930ee10da | |||
| de6c57771e | |||
| c8359b0743 | |||
| 12b7cf09e6 | |||
| 28af34f978 | |||
| 49b1acc147 | |||
| 0ee3015c7d | |||
| 4aa1464b48 | |||
| 7b52995c86 | |||
| 23c1ebfac9 | |||
| 3de31613a1 | |||
| 9a54f289c4 | |||
| 4a740e6186 | |||
| 34e622455f | |||
| b13d8ef9fa | |||
| 4898bfdf9c | |||
| 28ff364faa | |||
| f254cb086a | |||
| 15615eb450 | |||
| 37987b3827 | |||
| 48cf60ac7c | |||
| 368195e5bd | |||
| 97765c77e5 | |||
| 962ad1ea81 | |||
| eba822da0b | |||
| 7b052e7a2d | |||
| 481eaa5ade | |||
| cf8e2ee195 | |||
| fee570a698 | |||
| 33c4865ca7 | |||
| 54bdbe0642 | |||
| 41ad692256 | |||
| 3417455ba6 | |||
| 020b098328 | |||
| 3781cbe731 | |||
| 67fcbfec01 | |||
| b7c28ab1f2 | |||
| 1d8f74d6d7 | |||
| 7311868636 | |||
| 589eb3864f | |||
| 828f07ea13 | |||
| 8565749b0c | |||
| 33112029b8 | |||
| 37df1e0e0f | |||
| f7bb8771f1 | |||
| 2f2a7a567a | |||
| b5bc0ba181 | |||
| ad25c256f9 | |||
| 23d53253f9 | |||
| 54a401106b | |||
| fe6dd4d18f | |||
| 29a2d5b3d8 | |||
| 36647b9370 | |||
| bb50941770 | |||
| 981ce4f8ad | |||
| 9f235bf78d | |||
| 5dfbd5f71b | |||
| 92a80c7b69 | |||
| 09a73540ea | |||
| 731d73d2e1 | |||
| d21fe2a526 | |||
| cac15cf95c | |||
| 6aee66c35a | |||
| 3ac4982fc5 | |||
| eac8f23341 | |||
| badacdd45b | |||
| ae29a3b1cd | |||
| 817952f3d0 | |||
| 275412358a | |||
| 52554009ce | |||
| 9f89a4a58a | |||
| 5585d72c1c | |||
| 7748cc2497 | |||
| 60f9a02143 | |||
| 899e522c74 | |||
| be87d73da8 | |||
| 00639677f5 | |||
| 3c25a73ae8 | |||
| 344103739f | |||
| c2b8247fbb | |||
| 03cdfad418 | |||
| 3fe4c5455a | |||
| a6b95b23c9 | |||
| 2616d87922 | |||
| f983649bc6 | |||
| 15ed02b78c | |||
| 2cb93b4b4b | |||
| 7e0ad801b0 | |||
| ccdfa9a8be | |||
| 85e04d8094 | |||
| e7d4ec5836 | |||
| 511d0da2cb | |||
| 7fdbb0372c | |||
| 72f6f08f11 | |||
| d16d5bdcd4 | |||
| 22d0e4ff8f | |||
| c001a5f3cb | |||
| 43ab0e084f | |||
| b3b9a9f5c2 | |||
| 954470250e | |||
| 5ab5246aa0 | |||
| d548cbe083 | |||
| abbbdda102 | |||
| d270cc2ffa | |||
| d6cdd1df82 | |||
| 3c0da9fd15 | |||
| c9f93cd313 | |||
| 78c43d23b6 | |||
| 322f6b9b64 | |||
| 88bbfcb7f1 | |||
| cae9827841 | |||
| 414b0149f2 | |||
| 33e4ec3e80 | |||
| c46182923c | |||
| 5d2242f7a4 | |||
| 6204e63c56 | |||
| 4468edc939 | |||
| b54a94135d | |||
| e4d70f94b1 | |||
| 70418783a8 | |||
| d9aa125a15 | |||
| dacea399ab | |||
| a78b9a5b9b | |||
| 36cd6af6df | |||
| 1e9807189c | |||
| d54834d501 | |||
| ac06e6728d | |||
| 227c316cb0 | |||
| 2c2ce66ec4 | |||
| 9a99b47f07 | |||
| 505bb51a27 | |||
| 6ade38e0ff | |||
| 3caa0f1438 | |||
| b8ef90cb41 | |||
| 6551e1b499 | |||
| 9efc648e3d | |||
| 20f82cbde4 | |||
| 1ee9cf41e2 | |||
| 1cd38d12f9 | |||
| 0b71d64931 | |||
| 4954655ad4 | |||
| 8db91df185 | |||
| ac4c17ca09 | |||
| 604dc6ace3 | |||
| 627aa06786 | |||
| baa96f47d8 | |||
| e718fb8333 | |||
| c5d9fd1a0d | |||
| 63117fd519 | |||
| a7c5064a33 | |||
| f20ce7411d | |||
| a7c04ac891 | |||
| 01de76a32e | |||
| a861aa36b9 | |||
| af593ef47a | |||
| b98ab1f5b5 | |||
| 5ff3a286cf | |||
| 58dc917fb7 | |||
| e00d65d468 | |||
| dbcf4058e5 | |||
| b558246d52 | |||
| c3c88f5e27 | |||
| 31468aa177 | |||
| 6923ea301b | |||
| ec8d8e4587 | |||
| 32591465f3 | |||
| 1c5c26e04a | |||
| 83baf4c6bb | |||
| c383a61036 | |||
| 9d9c3d971a | |||
| 8acfeba3e1 | |||
| 09bae529de | |||
| 38c507a605 | |||
| b7cd36921e | |||
| de255729e6 | |||
| 3ac1dcc8d9 | |||
| 1d6cce7c52 | |||
| c2ac4961ef | |||
| 184ce763c1 | |||
| 229ee95f91 | |||
| 8e84bdfa8d | |||
| ed4b74f01b | |||
| 099c30833a | |||
| e46d3bc220 | |||
| 7c22d89c37 | |||
| 316e4de8e2 | |||
| d83fd1c2b4 | |||
| 619d8cc05e | |||
| 244b3dc2b4 | |||
| 1a69d93d32 | |||
| 5ba85f2817 | |||
| 3982436de6 | |||
| fdf98ae1c6 | |||
| 76f19f0752 | |||
| 5c9aadcc82 | |||
| 5b10ee4b40 | |||
| 72b1e58218 | |||
| 7eb0718c9c | |||
| ca8d41dd3b | |||
| 179d26b1c4 | |||
| 9786053324 | |||
| aee395020f | |||
| f377c94ba3 | |||
| c5f1bd4449 | |||
| e11dc0e080 | |||
| 0ea135a546 | |||
| 3419be1616 | |||
| ccda8c5760 | |||
| 8a5287794e | |||
| 97d21564d1 | |||
| 3e28bfe717 | |||
| 06ebe5f51f | |||
| f02c140709 | |||
| b80a64b0ee | |||
| 5d2cc81123 | |||
| b86d2fe8cd | |||
| fee14babbc | |||
| f06ffb62de | |||
| 4a1a4d75ad | |||
| b552c16539 | |||
| d574d53fca | |||
| 2b69ac8391 | |||
| fa558a4b87 | |||
| e7cb40d5ee | |||
| f409dbdab1 | |||
| 1748e8479f | |||
| d91a30f71a | |||
| 4f2788a294 | |||
| 856b81ab04 | |||
| 76aab2271c | |||
| 3192026e6d | |||
| 90dd05e52e | |||
| e73cf44ddc | |||
| 4c2804eac9 | |||
| e1dd77fd3f | |||
| b69f1e6c43 | |||
| 7661082d58 | |||
| 34da4f056a | |||
| 642c1d5ec5 | |||
| 1f3351ffa5 | |||
| 30e96118b1 | |||
| efd768ac5d | |||
| 6dbcd4fc45 | |||
| 11cd51c9ca | |||
| 3de38003bf | |||
| 418438b762 | |||
| 0a5c43435e | |||
| d7bb831d7f | |||
| 824256db6d | |||
| 2f311ee403 | |||
| e04db8775f | |||
| 2fbc63b458 | |||
| 8ac69d6afd | |||
| 6dec097184 | |||
| c2015b1d72 | |||
| 9c75e61704 | |||
| bfc343d388 | |||
| b665c9bd38 | |||
| bfe91b7523 | |||
| e5ba1c7ced | |||
| 995d485a43 | |||
| 9ac4990f89 | |||
| 509c70a97c | |||
| 333b98d2e6 | |||
| 538f7cd150 | |||
| d3c780e16e | |||
| 248a651c0c | |||
| d142ce47ed | |||
| 695f78861d | |||
| 46ad4f4d18 | |||
| 2fc2d63e2d | |||
| d137859d12 | |||
| 09cf223aa2 | |||
| 909da72eb2 | |||
| 2a06e2e577 | |||
| 7f841ab85b | |||
| a2d95e1b99 | |||
| d06f563bfe | |||
| c53d44b3ec | |||
| 5e51f426fa | |||
| 193d9e8ed8 | |||
| 2d03d355c2 | |||
| 185b7fed63 | |||
| ee6ad0bb27 | |||
| 3644f4ae1e | |||
| 28d87a8e58 | |||
| cf7d31e432 | |||
| fd40faabe8 | |||
| d521f80dcd | |||
| 102a8cc5a6 | |||
| e90f5361be | |||
| afe677d39d | |||
| 58e6ce10ad | |||
| b0c522a59a | |||
| 62fc489001 | |||
| a269fc9e8c | |||
| 7cd6d109d4 | |||
| 1f8a2bb9b1 | |||
| eb2ac99067 | |||
| 79147c612e | |||
| 3d75ba174b | |||
| 3933c5ab02 | |||
| aa5ff6ed2e | |||
| 407269b0d5 | |||
| 67a72cc693 | |||
| 955fe1d583 | |||
| 82bce89086 | |||
| c13257b9e9 | |||
| 3f773f80ac | |||
| 5b23122b35 | |||
| d5cbfa6749 | |||
| 3ad92192a9 | |||
| 466676d99f | |||
| a1d5412465 | |||
| 9fdd5148ca | |||
| ac957b27cb | |||
| 20bc332720 | |||
| d2507660c2 | |||
| 64264c6378 | |||
| 7a97c71ce8 | |||
| 14cc8681bf | |||
| ddadcdc18f | |||
| 4738a0e0a8 | |||
| d2e4a0b0d2 | |||
| 9f365ed85e | |||
| 5e733657c2 | |||
| 93d9b61366 | |||
| b5d289bda9 | |||
| 319b7a3755 | |||
| d20155a03b | |||
| 410d23b4d9 | |||
| 003e505c4a | |||
| 22f09772d3 | |||
| a300172adc | |||
| 1eba408f64 | |||
| be39b293b5 | |||
| d853bdde27 | |||
| 31cf04a944 | |||
| f5912d29b6 | |||
| caad3a6b00 | |||
| 08f4476087 | |||
| 46ea3e6074 | |||
| 8be2a39daf | |||
| 7591b45ffa | |||
| 5302ce57db | |||
| f6d0d383f1 | |||
| 6aa8267c49 | |||
| e88100d48a | |||
| f5056e7232 | |||
| 3b47bc5818 | |||
| 101d344303 | |||
| 6ab1a4adb0 | |||
| 68bbddeb3e | |||
| 5a30425091 | |||
| e9deb248f9 | |||
| 7d0ff8b1a2 | |||
| 8399cc1e57 | |||
| 6b8370daad | |||
| 3c4f874db5 | |||
| 0966c96ef0 | |||
| 6b919808c9 | |||
| 590d4fcdbb | |||
| 4acb3f83bf | |||
| df32393215 | |||
| ff3e03220e | |||
| 5da198de7e | |||
| 247df54ef0 | |||
| 161eeca62b | |||
| 0b8056bcf4 | |||
| 62bfe953a1 | |||
| 67611d5ae7 | |||
| 77b5235c9f | |||
| 09755d5bfe | |||
| 0224228c46 | |||
| 168cd96f56 | |||
| 6f6e810432 | |||
| 944e1c99ff | |||
| 7f54f7bb7e | |||
| 2881a5bc0d | |||
| ee05884c9c | |||
| bdf9d6ed2d | |||
| 385988989b | |||
| b98c7dd49f | |||
| b3c0cc86d3 | |||
| ad34e55a67 | |||
| 1bdbf68ca9 | |||
| 84f37c66ba | |||
| f7c65b1705 | |||
| 134b41e4be | |||
| df41e8eb3a | |||
| 0f668a9038 | |||
| dea6d261ad | |||
| 97592fad5c | |||
| bcd8f29334 | |||
| 8caf277bf1 | |||
| c38de0e6b0 | |||
| 4b480bb085 | |||
| c1d63aff34 | |||
| 5fc89c4cad | |||
| 05ed6af978 | |||
| 5e96bb5a32 | |||
| cecbb38c64 | |||
| c5e76c50b0 | |||
| e40226ff7a | |||
| 53a3638fa8 | |||
| 1344638c52 | |||
| 6fdc87454a | |||
| c36f9501a9 | |||
| c23b43c352 | |||
| a76851463b | |||
| e17b432c8f | |||
| 5d444cd6dd | |||
| be43049fc6 | |||
| 2e01710412 | |||
| 1b0193161c | |||
| 1b377fb575 | |||
| 94bed2a093 | |||
| 20b501562e | |||
| ebc503488a | |||
| 2cfab3ede0 | |||
| 731c8b19e4 | |||
| 9c91a207c8 | |||
| 1203ae64b8 | |||
| 26ed8002b9 | |||
| cf23bffc67 | |||
| d70f6fffe7 | |||
| 54c99fc386 | |||
| 86c1ea5e6a | |||
| b394c1914c | |||
| 91c2ddf155 | |||
| 712ad96d2a | |||
| 86b4a4f2f5 | |||
| 4b9786abc9 | |||
| fd96ebc050 | |||
| 939e0f5975 | |||
| 6a7a288a0f | |||
| 0564d0aa98 | |||
| 3a136a73ca | |||
| 50c219307f | |||
| de3038b302 | |||
| 6eb4b0a419 | |||
| 41d2158375 | |||
| 5d7f57e80b | |||
| 4ce3e1d1bf | |||
| e5f2746810 | |||
| 92ebf506dd | |||
| 9ab06152c5 | |||
| bf36b6a59d | |||
| 4b9f6c4fb1 | |||
| b1a42c8dea | |||
| cbd98b5a1a | |||
| c8e0aea69c | |||
| 7c0b236eb0 | |||
| 16debbd109 | |||
| 39bfa5d910 | |||
| 6424579a9e | |||
| a962ae6f63 | |||
| c7dee158ba | |||
| 237d25089d | |||
| 265328d648 | |||
| 6f40e85a6e | |||
| 96d8509da3 | |||
| 598445ab0f | |||
| 24788e2fd3 | |||
| bbf4dde43f | |||
| 0afd27ab45 | |||
| d498423ec2 | |||
| 66ce84973c | |||
| 55e6a0f312 | |||
| 81e83fdf18 | |||
| f9b79d24f8 | |||
| 0599a47bfe | |||
| 817c55d318 | |||
| 14146c8c0c | |||
| 18adac20d4 | |||
| eb4bff89da | |||
| c66dc777f3 | |||
| 9003462457 | |||
| e124f0a220 | |||
| c6d3f57712 | |||
| b4c669ff86 | |||
| 2d1b2c0947 | |||
| 4a0c5aa785 | |||
| f48d7f8f60 | |||
| 651f24f641 | |||
| 8fd77148ca | |||
| 0dc0762fdf | |||
| 1a92550709 | |||
| bffc15bc14 | |||
| 198d206c46 | |||
| bb8e848ef6 | |||
| bac3e9e5c1 | |||
| bc5eddeb66 | |||
| 8e7258d812 | |||
| 7118762cec | |||
| 6af92cf0a4 | |||
| 1bb91634f7 | |||
| f71ce7913f | |||
| 53db687a26 | |||
| 13939d3d6b | |||
| 552c6b8711 | |||
| feee2b3db2 | |||
| 9889c2bdbb | |||
| 2432fccf71 | |||
| 70510fd180 | |||
| 17c6201469 | |||
| 0f209c8900 | |||
| cbf043585c | |||
| 5ae621ceaa | |||
| 1231b59443 | |||
| b18d4fbf41 | |||
| 9ec5605e63 | |||
| 98a4de8878 | |||
| 5fe709f558 | |||
| 5231a6893b | |||
| 74f3ce990f | |||
| 998a913853 | |||
| 964844835c | |||
| 4e152bb849 | |||
| 51133d098c | |||
| d4191e7d1b | |||
| 9c273bc745 | |||
| c6f6ad6beb | |||
| 4362a14459 | |||
| 0080e9e311 | |||
| 83d9297cac | |||
| d8ad250608 | |||
| eac8880f6d | |||
| f47100e71c | |||
| 9a81a57d13 | |||
| 354429bc28 | |||
| 99d4d9490c | |||
| 61afe711bd | |||
| 6e3cfc157f | |||
| 30d762372f | |||
| 2dbaabb74c | |||
| f8bae0430f | |||
| 21c07497d7 | |||
| 9b9bcd657f | |||
| 02038aa543 | |||
| 9910d1127a | |||
| 21a0245985 | |||
| e860f3a00e | |||
| 2e480d2c52 | |||
| 2c0f93d647 | |||
| 41f973c7d5 | |||
| 2d1447d558 | |||
| 7c22cbcf38 | |||
| e4b03f510b | |||
| 8dfd206aa9 | |||
| 6dabab1d2e | |||
| c3bd8b1a85 | |||
| e1b7332c47 | |||
| 5cd08e45f0 | |||
| c2d03f0e6e | |||
| d3501f4cb7 | |||
| ee82cd25b7 | |||
| bbb07e17d9 | |||
| e6b40b55c4 | |||
| 7573f68df3 | |||
| ceaacc7ba9 | |||
| 0e24f75753 | |||
| 82b9deeee4 | |||
| cfa40b797f | |||
| 5aeb68acb7 | |||
| b81101414f | |||
| 7ae89d04bb | |||
| 1c566f3802 | |||
| c9c3c9ab90 | |||
| 56394ac50e | |||
| f7c2f12ab2 | |||
| a6bb6e0c93 | |||
| 4a5863e6ac | |||
| 913fe8d184 | |||
| 4ce8130cdf | |||
| fe87463b78 | |||
| fe0f0e29e8 | |||
| 83d6dac7cf | |||
| 02500e0930 | |||
| 5e1187f437 | |||
| 064ff3b65e | |||
| b5c7019bf0 | |||
| e9d16e77a3 | |||
| 2415d4c531 | |||
| 3f75213ce3 | |||
| 6120ceabf1 | |||
| 95a95d1750 | |||
| d923e84456 | |||
| 343f573e78 | |||
| c6d87da4f0 | |||
| a9faebe51a | |||
| d436f5d1be | |||
| f40899821f | |||
| 2a64ed19a3 | |||
| 47bca0be88 | |||
| 7ac8cc6b8b | |||
| b435ec1217 | |||
| 688d4fee6a | |||
| 29ffeaa9f3 | |||
| 742e4ba2cb | |||
| 0a0063de1f | |||
| 1b7d1e61cc | |||
| 15a273458e | |||
| eef8eb756f | |||
| e65118e962 | |||
| de06fc7dcc | |||
| a86fbbb440 | |||
| 3045ec107f | |||
| 3a9557ad30 | |||
| 583153383a | |||
| 3f53e8fd5f | |||
| 5c9402323a | |||
| 1921862b53 | |||
| 0f7acd39fc | |||
| 1a7507f524 | |||
| db6dde3e50 | |||
| 4e58b7697a | |||
| 55d7d9693f | |||
| b4b7c9d306 | |||
| a4153fae57 | |||
| 8053357d99 | |||
| 7347d2caa2 | |||
| e6491bcbb7 | |||
| 26a291dbee | |||
| 8ee8c9b07c | |||
| 3a2d01813a | |||
| d2dadc386f | |||
| faa8f02b08 | |||
| fbee9ba240 | |||
| 2a69786d7e | |||
| f460bf91ef | |||
| bd74d45a91 | |||
| c65522f0b6 | |||
| 5f2c437136 | |||
| 87e974e080 | |||
| f77729fc0b | |||
| 2a8ce96830 | |||
| 9be539cfb8 | |||
| e44f2fe06d | |||
| ad65d55abd | |||
| 2b5bbfd897 | |||
| d2020fedda | |||
| 98789bd85a | |||
| e6ace2fafd | |||
| a55fc4d0e9 | |||
| a09e9d4586 | |||
| ba7c8cf0e0 | |||
| 60f67d4642 | |||
| 0dc6c20c65 | |||
| 5d41aad539 | |||
| e9a0e45d5c | |||
| 2dedd0b702 | |||
| 1889973af1 | |||
| 75e852451c | |||
| cfee44b18b | |||
| f384fc7562 | |||
| 44c55d06a6 | |||
| f4ca9a6b9e | |||
| a54d875ceb | |||
| 657df8bdda | |||
| c0fabc0bb7 | |||
| 4fd476bb7d | |||
| be0a9ddf6b | |||
| f7db0b7373 | |||
| 5ca57e446a | |||
| 33a27b06a6 | |||
| b50acaba91 | |||
| 6253ac30b7 | |||
| 2a93e2694d | |||
| 91fb3501c5 | |||
| c7d5e7de72 | |||
| 02ef02ec9e | |||
| f77626490f | |||
| 6fd13fb4d4 | |||
| e18ba0eb81 | |||
| 25f464c177 | |||
| 57a9d5f472 | |||
| 3b0f852f37 | |||
| a85c8ba894 | |||
| f0c932713b | |||
| 8625e99625 | |||
| c79f86fd03 | |||
| a0774cf71c | |||
| 16b872352d | |||
| e414eda151 | |||
| 719f4b5113 | |||
| 8b75d57cff | |||
| 7aea6980b5 | |||
| 99e790944f | |||
| 937f0f77c2 | |||
| c86aa7d3c8 | |||
| d380a8d6a7 | |||
| a8995c5377 | |||
| 34ac62e4ac | |||
| a1f9d9ca06 | |||
| e6fbd03346 | |||
| dd35f0119b | |||
| b837b1e131 | |||
| 0802d0d57a | |||
| 6fa2ebdd4f | |||
| 11bf564b73 | |||
| 65bea04080 | |||
| 4572b790c6 | |||
| f419941065 | |||
| d3d965ee1f | |||
| 2a55983bc9 | |||
| 7e42052da0 | |||
| e8bb950e06 | |||
| 13dc0c78df | |||
| a081c1e498 | |||
| a3e50e760e | |||
| b6aa53175f | |||
| 094d8d4b75 | |||
| 0fa67c94c1 | |||
| 083aee1588 | |||
| 5c39467879 | |||
| fb1d4c6325 | |||
| a0fe2f1e13 | |||
| dbe6000632 | |||
| 42dc96cf6b | |||
| 4fd3516f41 | |||
| 6f218264ed | |||
| 810b3c7440 | |||
| 40fdf75042 | |||
| bc260b08b2 | |||
| b920f45f60 | |||
| 7f02f6886f | |||
| aa271d6498 | |||
| 9e6ae4d762 | |||
| ef8b58b208 | |||
| 0422921dc7 | |||
| 5ba03937c3 | |||
| cc4967d457 | |||
| eaeecbb180 | |||
| 069de31003 | |||
| ae5c74b6cd | |||
| 716888dcb2 | |||
| ca4e2b2391 | |||
| 630abbd3c8 | |||
| 33f40c2eac | |||
| 7c7b6ba082 | |||
| 205a6db9f1 | |||
| 659fe1b281 | |||
| e86d622219 | |||
| ee3da60002 | |||
| 88643134c9 | |||
| 56553bb683 | |||
| cd14f4221e | |||
| 108fcbb161 | |||
| e12762a584 | |||
| 98cc356b92 | |||
| 32ba9e78fe | |||
| a737d85fa5 | |||
| 435ac02647 | |||
| 255b4e103a | |||
| bd8771849b | |||
| b32349effe | |||
| cd03b4b633 | |||
| c45315d61d | |||
| 62374b9b53 | |||
| ddb875f788 | |||
| 9a32852119 | |||
| e795283482 | |||
| e6036d31cf | |||
| 5a85a6e4f9 | |||
| 0113fbff4f | |||
| 145656bc43 | |||
| 6153c48c86 | |||
| 912c0125e5 | |||
| dc2ad3cd3e | |||
| e3783c5480 | |||
| 440abbe3b6 | |||
| 95369d7c3d | |||
| 9e0023961b | |||
| 307e07b4c8 | |||
| fb88eadb58 | |||
| 6fdf088531 | |||
| 07b6fc0c52 | |||
| 1b466090e8 | |||
| c990760f22 | |||
| aeb7d857ee | |||
| 78f99c2697 | |||
| 7885718d42 | |||
| 288da8c147 | |||
| 7e31db809a | |||
| fb0ccfc8e6 | |||
| c9bf4e3d48 | |||
| 2a59272b86 | |||
| ff5e2862b8 | |||
| 51678afdc7 | |||
| 3b6a3df03d | |||
| 1c97559151 | |||
| 082e695c83 | |||
| 4a5e4d3a5e | |||
| 8988f29cea | |||
| 6150010d17 | |||
| c165b97d57 | |||
| 39c599d2de | |||
| be952ba2da | |||
| 5a141d343e | |||
| 7e4ad307aa | |||
| d8bb418851 | |||
| f1cd84d0c8 | |||
| ba6538da7c | |||
| afea1cbb4c | |||
| 19fbc884ae | |||
| 67861e4f70 | |||
| 228285f693 | |||
| 9f62a08cd2 | |||
| d97cd1b75f | |||
| 5fd8312f63 | |||
| 90b7d5f519 | |||
| 93f4549efa | |||
| b5c8dfac97 | |||
| ee01b7759e | |||
| 8dba591cda | |||
| 302db87bec | |||
| 161ff3b32a | |||
| ffdfbb8ae5 | |||
| 53b54a8e52 | |||
| 0403e0a783 | |||
| 8a2acacc37 | |||
| 256e84c4d4 | |||
| c10e8788d8 | |||
| 6eb89f61b3 | |||
| e3d2ff9ea1 | |||
| 665dfa6aee | |||
| 4f7e2128d1 | |||
| 8112facb4e | |||
| 944261b5e4 | |||
| ba528d0534 | |||
| a28afe86ce | |||
| 5e0026e124 | |||
| f23ed3c319 | |||
| 6aae2eb1df | |||
| f4943bc26c | |||
| 1c6578e6ef | |||
| 5ef200f21c | |||
| b3822137f7 | |||
| 858789f442 | |||
| 3209b39488 | |||
| 0c9f6edeb6 | |||
| aabcef2958 | |||
| 10d68b2676 | |||
| e960afe8f6 | |||
| ae677ce9db | |||
| 7f9c59a021 | |||
| d8fdc96899 | |||
| c3280e8b60 | |||
| 26a1f78d56 | |||
| ee9c98c515 | |||
| 29ec06fb0a | |||
| c1155e255b | |||
| 4e39566118 | |||
| 3f3094f0aa | |||
| 84730d2f4d | |||
| b8bb891275 | |||
| 7bcb5be1a5 | |||
| 081c842149 | |||
| 6bdcec8105 | |||
| 3c7937bff9 | |||
| d7f832c00e | |||
| 8cd39f6a9a | |||
| ac27137e5a | |||
| 762632d55a | |||
| 48c17dac87 | |||
| 8666935caf | |||
| 0ec6707263 | |||
| d4224772b4 | |||
| cd99376da9 | |||
| 02fd4ec477 | |||
| 3b851e9a22 | |||
| 5ce5e129cf | |||
| 9b0f58ddf5 | |||
| bed5619d4e | |||
| 69c4e6ea28 | |||
| ea7b593693 | |||
| 7ac833e396 | |||
| a5e909337e | |||
| 0c120eccc9 | |||
| e6addafcdd | |||
| ef11f45df8 | |||
| 72fc2204b4 | |||
| 15c08ef425 | |||
| 52bb397105 | |||
| 5572fccaf6 | |||
| 65d591e2a6 | |||
| 4bf59301e5 | |||
| 629e8f73f4 | |||
| eb68ba5120 | |||
| a8bff7868b | |||
| ae04b4fcc0 | |||
| 5eb91dd3fa | |||
| 3ad537fdbb | |||
| 2c570bb4f6 | |||
| 461f3aec0a | |||
| fd47122e39 | |||
| 8de013f192 | |||
| 1dd3a602d7 | |||
| a84a49a13f | |||
| 64a6a69bbd | |||
| d75b9f26f1 | |||
| 10cb7f830f | |||
| dd3e6de9b2 | |||
| d42b84abc1 | |||
| b6c649041b | |||
| 93ec65be6a | |||
| bfa8929c47 | |||
| 360713c803 | |||
| 26ce682824 | |||
| 65b546c0f9 | |||
| 31494bba22 | |||
| f25abb0b26 | |||
| e831bc75c6 | |||
| 852bbd148c | |||
| c158fd369a | |||
| a213e8bcd1 |
+1
-1
@@ -1,6 +1,6 @@
|
||||
# These are supported funding model platforms
|
||||
|
||||
github: [leaanthony]
|
||||
github: [ leaanthony ]
|
||||
patreon: # Replace with a single Patreon username
|
||||
open_collective: # Replace with a single Open Collective username
|
||||
ko_fi: # Replace with a single Ko-fi username
|
||||
|
||||
@@ -8,7 +8,7 @@ assignees: ''
|
||||
---
|
||||
|
||||
#####################################################
|
||||
**If you have a technical issue, please do not open a bug this way!**
|
||||
**V1 users: If you have a technical issue, please do not open a bug this way!**
|
||||
Please use the `wails issue` command!
|
||||
If you do not do this then the issue may be closed automatically.
|
||||
|
||||
@@ -33,7 +33,7 @@ A clear and concise description of what you expected to happen.
|
||||
If applicable, add screenshots to help explain your problem.
|
||||
|
||||
**System Details**
|
||||
Please provide your platform, GO version and variables, etc
|
||||
V2 users: Please add the output of `wails doctor`.
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
||||
|
||||
@@ -0,0 +1,35 @@
|
||||
name: Deploy mirror | 部署镜像
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
# pull_request:
|
||||
# branches: [ main ]
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
name: Automatic deployment | 自动部署
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'misitebao/wails'
|
||||
|
||||
steps:
|
||||
- name: Checkout | 切换到部署分支
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
ref: "master"
|
||||
submodules: true
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Build Site | 构建网站
|
||||
run: |
|
||||
cd website &&
|
||||
npm install && npm run build
|
||||
|
||||
- name: Deploy to Server | 部署到服务器
|
||||
uses: hengkx/ssh-deploy@v1.0.1
|
||||
with:
|
||||
HOST: ${{ secrets.DEPLOY_HOST }}
|
||||
USERNAME: ${{ secrets.DEPLOY_HOST_USER }}
|
||||
PASSWORD: ${{ secrets.DEPLOY_HOST_PASSWORD }}
|
||||
SOURCE: "website/build"
|
||||
TARGET: "/www/wwwroot/wails.top"
|
||||
@@ -1,8 +1,10 @@
|
||||
name: latest pre-release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- develop
|
||||
tags:
|
||||
- '**-pre**'
|
||||
- '**-pre**'
|
||||
jobs:
|
||||
|
||||
build:
|
||||
|
||||
@@ -29,4 +29,4 @@ jobs:
|
||||
run: go build -v ./cmd/wails
|
||||
|
||||
- name: Test
|
||||
run: ./wails version
|
||||
run: ./wails version
|
||||
|
||||
@@ -31,4 +31,4 @@ jobs:
|
||||
run: go build -v ./cmd/wails
|
||||
|
||||
- name: Test
|
||||
run: ./wails version
|
||||
run: ./wails version
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
name: Runtime
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- v2-alpha
|
||||
paths:
|
||||
- 'v2/internal/frontend/runtime/**'
|
||||
jobs:
|
||||
rebuild-runtime:
|
||||
name: Rebuild the runtime
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: 14.17.6
|
||||
cache: 'npm'
|
||||
cache-dependency-path: v2/internal/frontend/runtime/package-lock.json
|
||||
- run: npm install
|
||||
working-directory: v2/internal/frontend/runtime
|
||||
- run: npm run build
|
||||
working-directory: v2/internal/frontend/runtime
|
||||
|
||||
- name: Commit changes
|
||||
uses: devops-infra/action-commit-push@master
|
||||
with:
|
||||
github_token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
commit_prefix: "[AUTO]"
|
||||
commit_message: "The runtime was rebuilt"
|
||||
+11
-2
@@ -17,8 +17,17 @@ cmd/wails/wails
|
||||
.DS_Store
|
||||
tmp
|
||||
node_modules/
|
||||
package.json.md5
|
||||
v2/test/**/frontend/dist
|
||||
v2/test/**/build/
|
||||
v2/test/frameless/icon.png
|
||||
v2/test/hidden/icon.png
|
||||
v2/test/kitchensink/frontend/public/bundle.*
|
||||
v2/pkg/parser/testproject/frontend/wails
|
||||
v2/test/kitchensink/frontend/public
|
||||
v2/internal/ffenestri/runtime.c
|
||||
v2/internal/runtime/assets/desktop.js
|
||||
v2/test/kitchensink/build/darwin/desktop/kitchensink
|
||||
v2/test/kitchensink/frontend/package.json.md5
|
||||
/v2/internal/ffenestri/windows/test/cmake-build-debug/
|
||||
!v2/internal/ffenestri/windows/x64/webview2.dll
|
||||
!v2/internal/ffenestri/windows/x64/WebView2Loader.dll
|
||||
.idea/
|
||||
|
||||
Vendored
+5
-1
@@ -1,4 +1,8 @@
|
||||
{
|
||||
"go.formatTool": "goimports",
|
||||
"eslint.alwaysShowStatus": true
|
||||
"eslint.alwaysShowStatus": true,
|
||||
"files.associations": {
|
||||
"__locale": "c",
|
||||
"ios": "c"
|
||||
}
|
||||
}
|
||||
+15
-15
@@ -31,18 +31,18 @@ Wails is what it is because of the time and effort given by these great people.
|
||||
* [Christopher Murphy](https://github.com/Splode)
|
||||
* [Zámbó, Levente](https://github.com/Lyimmi)
|
||||
* [artem](https://github.com/Unix4ever)
|
||||
* [Tim Kipp](https://github.com/timkippdev)
|
||||
* [Dmitry Gomzyakov](https://github.com/kyoto44)
|
||||
* [Arthur Wiebe](https://github.com/artooro)
|
||||
* [Ilgıt Yıldırım](https://github.com/ilgityildirim)
|
||||
* [Altynbek](https://github.com/gelleson)
|
||||
* [Kyle](https://github.com/kmuchmore)
|
||||
* [Balakrishna Prasad Ganne](https://github.com/aayush420)
|
||||
* [Charaf Rezrazi](https://github.com/Rezrazi)
|
||||
* [misitebao](https://github.com/misitebao)
|
||||
* [Elie Grenon](https://github.com/DrunkenPoney)
|
||||
* [SophieAu](https://github.com/SophieAu)
|
||||
* [Alexander Matviychuk](https://github.com/alexmat)
|
||||
* [RH12503](https://github.com/RH12503)
|
||||
* [hi019](https://github.com/hi019)
|
||||
|
||||
* [Tim Kipp](https://github.com/timkippdev)
|
||||
* [Dmitry Gomzyakov](https://github.com/kyoto44)
|
||||
* [Arthur Wiebe](https://github.com/artooro)
|
||||
* [Ilgıt Yıldırım](https://github.com/ilgityildirim)
|
||||
* [Altynbek](https://github.com/gelleson)
|
||||
* [Kyle](https://github.com/kmuchmore)
|
||||
* [Balakrishna Prasad Ganne](https://github.com/aayush420)
|
||||
* [Charaf Rezrazi](https://github.com/Rezrazi)
|
||||
* [misitebao](https://github.com/misitebao)
|
||||
* [Elie Grenon](https://github.com/DrunkenPoney)
|
||||
* [SophieAu](https://github.com/SophieAu)
|
||||
* [Alexander Matviychuk](https://github.com/alexmat)
|
||||
* [RH12503](https://github.com/RH12503)
|
||||
* [hi019](https://github.com/hi019)
|
||||
* [Igor Minen](https://github.com/Igogrek)
|
||||
|
||||
@@ -1,23 +1,93 @@
|
||||
<p align="center" style="text-align: center">
|
||||
<img src="logo_cropped.png" width="40%"><br/>
|
||||
<img src="logo.png" width="55%"><br/>
|
||||
</p>
|
||||
<p align="center">
|
||||
Build desktop applications using Go & Web Technologies.<br/><br/>
|
||||
<a href="https://github.com/wailsapp/wails/blob/master/LICENSE"><img src="https://img.shields.io/badge/License-MIT-blue.svg"></a>
|
||||
<a href="https://goreportcard.com/report/github.com/wailsapp/wails"><img src="https://goreportcard.com/badge/github.com/wailsapp/wails"/></a>
|
||||
<a href="http://godoc.org/github.com/wailsapp/wails"><img src="https://img.shields.io/badge/godoc-reference-blue.svg"/></a>
|
||||
<a href="https://www.codefactor.io/repository/github/wailsapp/wails"><img src="https://www.codefactor.io/repository/github/wailsapp/wails/badge" alt="CodeFactor" /></a>
|
||||
<a href="https://github.com/wailsapp/wails/issues"><img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" alt="CodeFactor" /></a>
|
||||
<a href="https://app.fossa.io/projects/git%2Bgithub.com%2Fwailsapp%2Fwails?ref=badge_shield" alt="FOSSA Status"><img src="https://app.fossa.io/api/projects/git%2Bgithub.com%2Fwailsapp%2Fwails.svg?type=shield"/></a>
|
||||
<a href="https://houndci.com"><img src="https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg"/></a>
|
||||
<a href="https://github.com/avelino/awesome-go" rel="nofollow"><img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="Awesome"></a>
|
||||
<a href="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" rel="nofollow"><img src="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" alt="Release Pipelines"></a>
|
||||
Build desktop applications using Go & Web Technologies.<br/><br/>
|
||||
<a href="https://github.com/wailsapp/wails/blob/master/LICENSE">
|
||||
<img src="https://img.shields.io/badge/License-MIT-blue.svg">
|
||||
</a>
|
||||
<a href="https://goreportcard.com/report/github.com/wailsapp/wails">
|
||||
<img src="https://goreportcard.com/badge/github.com/wailsapp/wails"/>
|
||||
</a>
|
||||
<a href="http://godoc.org/github.com/wailsapp/wails">
|
||||
<img src="https://img.shields.io/badge/godoc-reference-blue.svg"/>
|
||||
</a>
|
||||
<a href="https://www.codefactor.io/repository/github/wailsapp/wails">
|
||||
<img src="https://www.codefactor.io/repository/github/wailsapp/wails/badge" alt="CodeFactor" />
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/issues">
|
||||
<img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" alt="CodeFactor" />
|
||||
</a>
|
||||
<a href="https://app.fossa.io/projects/git%2Bgithub.com%2Fwailsapp%2Fwails?ref=badge_shield" alt="FOSSA Status">
|
||||
<img src="https://app.fossa.io/api/projects/git%2Bgithub.com%2Fwailsapp%2Fwails.svg?type=shield"/>
|
||||
</a>
|
||||
<a href="https://houndci.com">
|
||||
<img src="https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg"/>
|
||||
</a>
|
||||
<a href="https://github.com/avelino/awesome-go" rel="nofollow">
|
||||
<img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="Awesome"/>
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" rel="nofollow">
|
||||
<img src="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" alt="Release Pipelines"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
The traditional method of providing web interfaces to Go programs is via a built-in web server. Wails offers a different approach: it provides the ability to wrap both Go code and a web frontend into a single binary. Tools are provided to make this easy for you by handling project creation, compilation and bundling. All you have to do is get creative!
|
||||
<span id="nav-1"></span>
|
||||
|
||||
## Internationalization
|
||||
|
||||
[English](README.md) | [简体中文](README.zh-Hans.md)
|
||||
|
||||
<span id="nav-2"></span>
|
||||
|
||||
## Table of Contents
|
||||
|
||||
<details>
|
||||
<summary>Click me to Open/Close the directory listing</summary>
|
||||
|
||||
- [1. Internationalization](#nav-1)
|
||||
- [2. Table of Contents](#nav-2)
|
||||
- [3. Introduction](#nav-3)
|
||||
- [3.1 Official Website](#nav-3-1)
|
||||
- [4. Features](#nav-4)
|
||||
- [5. Sponsors](#nav-5)
|
||||
- [6. Installation](#nav-6)
|
||||
- [6.1 MacOS](#nav-6-1)
|
||||
- [6.2 Linux](#nav-6-2)
|
||||
- [6.2.1 Debian/Ubuntu](#nav-6-2-1)
|
||||
- [6.2.2 Arch Linux / ArchLabs / Ctlos Linux](#nav-6-2-2)
|
||||
- [6.2.3 Centos](#nav-6-2-3)
|
||||
- [6.2.4 Fedora](#nav-6-2-4)
|
||||
- [6.2.5 VoidLinux & VoidLinux-musl](#nav-6-2-5)
|
||||
- [6.2.6 Gentoo](#nav-6-2-6)
|
||||
- [6.3 Windows](#nav-6-3)
|
||||
- [7. Usage](#nav-7)
|
||||
- [7.1 Next Steps](#nav-7-1)
|
||||
- [8. FAQ](#nav-8)
|
||||
- [9. Contributors](#nav-9)
|
||||
- [10. Special Mentions](#nav-10)
|
||||
- [12. Special Thanks](#nav-11)
|
||||
|
||||
</details>
|
||||
|
||||
<span id="nav-3"></span>
|
||||
|
||||
## Introductions
|
||||
|
||||
The traditional method of providing web interfaces to Go programs is via a built-in web server. Wails offers a different
|
||||
approach: it provides the ability to wrap both Go code and a web frontend into a single binary. Tools are provided to
|
||||
make this easy for you by handling project creation, compilation and bundling. All you have to do is get creative!
|
||||
|
||||
<span id="nav-3-1"></span>
|
||||
|
||||
### Official Website
|
||||
|
||||
The official docs can be found at [https://wails.app](https://wails.app).
|
||||
|
||||
Click [here](https://wails.io) if you are interested in trying out v2 Beta for Windows.
|
||||
|
||||
<span id="nav-4"></span>
|
||||
|
||||
## Features
|
||||
|
||||
- Use standard Go for the backend
|
||||
@@ -30,37 +100,126 @@ The official docs can be found at [https://wails.app](https://wails.app).
|
||||
- Powerful cli tool
|
||||
- Multiplatform
|
||||
|
||||
<span id="nav-5"></span>
|
||||
|
||||
## Sponsors
|
||||
|
||||
This project is supported by these kind people / companies:
|
||||
|
||||
<a href="https://www.jetbrains.com?from=Wails" style="width:100px"><img src="jetbrains-grayscale.png" width="100"/></a>
|
||||
<a href="https://pace.dev" style="width:100px"><img src="pace.jpeg" width="100"/></a>
|
||||
<a href="https://github.com/tc-hib" style="width:50px;border-radius: 50%">
|
||||
<img src="https://github.com/tc-hib.png?size=50" width="50" style="border-radius: 50%"/>
|
||||
<p align="center">
|
||||
<a href="https://www.easywebadv.it/" style="width:100px;">
|
||||
<img src="website/static/img/easyweb.png" width="100"/>
|
||||
</a>
|
||||
</p>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="sponsors/silver%20sponsor.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/picatz" style="width:50px;border-radius: 50%">
|
||||
<img src="https://github.com/picatz.png?size=50" width="50" style="border-radius: 50%"/>
|
||||
<a href="https://github.com/letheanVPN" style="width:100px;">
|
||||
<img src="https://github.com/letheanVPN.png?size=100" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/tylertravisty" style="width:50px;border-radius: 50%">
|
||||
<img src="https://github.com/tylertravisty.png?size=50" width="50" style="border-radius: 50%"/>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="sponsors/bronze%20sponsor.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/snider" style="width:100px;">
|
||||
<img src="https://github.com/snider.png?size=100" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/codydbentley" style="width:100px">
|
||||
<img src="https://github.com/codydbentley.png?size=100" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/CrackDavid" style="width:100px">
|
||||
<img src="https://github.com/CrackDavid.png?size=100" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/matryer" style="width:100px">
|
||||
<img src="https://github.com/matryer.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://www.jetbrains.com?from=Wails" style="width:100px">
|
||||
<img src="/assets/images/jetbrains-grayscale.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/tc-hib" style="width:55px">
|
||||
<img src="https://github.com/tc-hib.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/picatz" style="width:50px">
|
||||
<img src="https://github.com/picatz.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/tylertravisty" style="width:50px">
|
||||
<img src="https://github.com/tylertravisty.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/akhudek" style="width:50px">
|
||||
<img src="https://github.com/akhudek.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/trea" style="width:50px">
|
||||
<img src="https://github.com/trea.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/LanguageAgnostic" style="width:55px">
|
||||
<img src="https://github.com/LanguageAgnostic.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/fcjr" style="width:55px">
|
||||
<img src="https://github.com/fcjr.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/nickarellano" style="width:60px">
|
||||
<img src="https://github.com/nickarellano.png?size=60" width="60"/>
|
||||
</a>
|
||||
<a href="https://github.com/bglw" style="width:65px">
|
||||
<img src="https://github.com/bglw.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/jugglingjsons" style="width:50px">
|
||||
<img src="https://github.com/jugglingjsons.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/marcus-crane" style="width:65px">
|
||||
<img src="https://github.com/marcus-crane.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/bbergshaven" style="width:45px">
|
||||
<img src="https://github.com/bbergshaven.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/Gilgames000" style="width:45px">
|
||||
<img src="https://github.com/Gilgames000.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/ilgityildirim" style="width:50px">
|
||||
<img src="https://github.com/ilgityildirim.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/ondoki" style="width:65px">
|
||||
<img src="https://github.com/ondoki.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/questrail" style="width:50px">
|
||||
<img src="https://github.com/questrail.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/DonTomato" style="width:45px">
|
||||
<img src="https://github.com/DonTomato.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/taigrr" style="width:45px">
|
||||
<img src="https://github.com/taigrr.png?size=45" width="45"/>
|
||||
</a>
|
||||
|
||||
<span id="nav-6"></span>
|
||||
|
||||
## Installation
|
||||
|
||||
Wails uses cgo to bind to the native rendering engines so a number of platform dependent libraries are needed as well as an installation of Go. The basic requirements are:
|
||||
Wails uses cgo to bind to the native rendering engines so a number of platform dependent libraries are needed as well as
|
||||
an installation of Go. The basic requirements are:
|
||||
|
||||
- Go 1.13
|
||||
- Go 1.16
|
||||
- npm
|
||||
|
||||
<span id="nav-6-1"></span>
|
||||
|
||||
### MacOS
|
||||
|
||||
Make sure you have the xcode command line tools installed. This can be done by running:
|
||||
|
||||
`xcode-select --install`
|
||||
|
||||
<span id="nav-6-2"></span>
|
||||
|
||||
### Linux
|
||||
|
||||
<span id="nav-6-2-1"></span>
|
||||
|
||||
#### Debian/Ubuntu
|
||||
|
||||
`sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev`
|
||||
@@ -69,7 +228,9 @@ _Debian: 8, 9, 10_
|
||||
|
||||
_Ubuntu: 16.04, 18.04, 19.04_
|
||||
|
||||
_Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali, Neon_, Pop!_OS
|
||||
_Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali, Neon_, Pop!\_OS
|
||||
|
||||
<span id="nav-6-2-2"></span>
|
||||
|
||||
#### Arch Linux / ArchLabs / Ctlos Linux
|
||||
|
||||
@@ -77,57 +238,82 @@ _Also succesfully tested on: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, K
|
||||
|
||||
_Also succesfully test on: Manjaro & ArcoLinux_
|
||||
|
||||
<span id="nav-6-2-3"></span>
|
||||
|
||||
#### Centos
|
||||
|
||||
`sudo yum install webkitgtk3-devel gtk3-devel`
|
||||
|
||||
_CentOS 6, 7_
|
||||
|
||||
<span id="nav-6-2-4"></span>
|
||||
|
||||
#### Fedora
|
||||
|
||||
`sudo yum install webkit2gtk3-devel gtk3-devel`
|
||||
|
||||
_Fedora 29, 30_
|
||||
|
||||
<span id="nav-6-2-5"></span>
|
||||
|
||||
#### VoidLinux & VoidLinux-musl
|
||||
|
||||
`xbps-install gtk+3-devel webkit2gtk-devel`
|
||||
|
||||
<span id="nav-6-2-6"></span>
|
||||
|
||||
#### Gentoo
|
||||
|
||||
`sudo emerge gtk+:3 webkit-gtk`
|
||||
|
||||
<span id="nav-6-3"></span>
|
||||
|
||||
### Windows
|
||||
|
||||
Windows requires gcc and related tooling. The recommended download is from [http://tdm-gcc.tdragon.net/download](http://tdm-gcc.tdragon.net/download). Once this is installed, you are good to go.
|
||||
Windows requires gcc and related tooling. The recommended download is
|
||||
from [http://tdm-gcc.tdragon.net/download](http://tdm-gcc.tdragon.net/download). Once this is installed, you are good to
|
||||
go.
|
||||
|
||||
## Installation
|
||||
<span id="nav-7"></span>
|
||||
|
||||
## Usage
|
||||
|
||||
**Ensure Go modules are enabled: GO111MODULE=on and go/bin is in your PATH variable.**
|
||||
|
||||
Installation is as simple as running the following command:
|
||||
|
||||
<pre style='color:white'>
|
||||
```
|
||||
go get -u github.com/wailsapp/wails/cmd/wails
|
||||
</pre>
|
||||
```
|
||||
|
||||
## Next Steps
|
||||
<span id="nav-7-1"></span>
|
||||
|
||||
### Next Steps
|
||||
|
||||
It is recommended at this stage to read the comprehensive documentation at [https://wails.app](https://wails.app).
|
||||
|
||||
<span id="nav-8"></span>
|
||||
|
||||
## FAQ
|
||||
|
||||
* Is this an alternative to Electron?
|
||||
- Is this an alternative to Electron?
|
||||
|
||||
Depends on your requirements. It's designed to make it easy for Go programmers to make lightweight desktop applications or add a frontend to their existing applications. Whilst Wails does not currently offer hooks into native elements such as menus, this may change in the future.
|
||||
Depends on your requirements. It's designed to make it easy for Go programmers to make lightweight desktop
|
||||
applications or add a frontend to their existing applications. Whilst Wails does not currently offer hooks into native
|
||||
elements such as menus, this may change in the future.
|
||||
|
||||
* Who is this project aimed at?
|
||||
- Who is this project aimed at?
|
||||
|
||||
Go programmers who want to bundle an HTML/JS/CSS frontend with their applications, without resorting to creating a server and opening a browser to view it.
|
||||
Go programmers who want to bundle an HTML/JS/CSS frontend with their applications, without resorting to creating a
|
||||
server and opening a browser to view it.
|
||||
|
||||
* What's with the name?
|
||||
- What's with the name?
|
||||
|
||||
When I saw WebView, I thought "What I really want is tooling around building a WebView app, a bit like Rails is to Ruby". So initially it was a play on words (Webview on Rails). It just so happened to also be a homophone of the English name for the [Country](https://en.wikipedia.org/wiki/Wales) I am from. So it stuck.
|
||||
When I saw WebView, I thought "What I really want is tooling around building a WebView app, a bit like Rails is to
|
||||
Ruby". So initially it was a play on words (Webview on Rails). It just so happened to also be a homophone of the
|
||||
English name for the [Country](https://en.wikipedia.org/wiki/Wales) I am from. So it stuck.
|
||||
|
||||
<span id="nav-9"></span>
|
||||
|
||||
## Contributors
|
||||
|
||||
@@ -172,48 +358,53 @@ It is recommended at this stage to read the comprehensive documentation at [http
|
||||
<a href="https://github.com/SophieAu"><img src="https://github.com/SophieAu.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/alexmat"><img src="https://github.com/alexmat.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/RH12503"><img src="https://github.com/RH12503.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/hi019"><img src="https://github.com/hi019.png?size=40" width="40"/></a></a>
|
||||
<a href="https://github.com/Igogrek"><img src="https://github.com/Igogrek.png?size=40" width="40"/></a></a>
|
||||
<a href="https://github.com/aschey"><img src="https://github.com/aschey.png?size=40" width="40"/></a></a>
|
||||
<a href="https://github.com/hi019"><img src="https://github.com/hi019.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/Igogrek"><img src="https://github.com/Igogrek.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/aschey"><img src="https://github.com/aschey.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/akhudek"><img src="https://github.com/akhudek.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/s12chung"><img src="https://github.com/s12chung.png?size=40" width="40"/></a>
|
||||
|
||||
<span id="nav-10"></span>
|
||||
|
||||
## Special Mentions
|
||||
|
||||
Without the following people, this project would never have existed:
|
||||
|
||||
* [Dustin Krysak](https://wiki.ubuntu.com/bashfulrobot) - His support and feedback has been immense. More patience than you can throw a stick at (Not long now Dustin!).
|
||||
* [Serge Zaitsev](https://github.com/zserge) - Creator of [Webview](https://github.com/zserge/webview) which Wails uses for the windowing.
|
||||
* [Byron](https://github.com/bh90210) - At times, Byron has single handedly kept this project alive. Without his incredible input, we never would have got to v1.
|
||||
- [Dustin Krysak](https://wiki.ubuntu.com/bashfulrobot) - His support and feedback has been immense. More patience than
|
||||
you can throw a stick at (Not long now Dustin!).
|
||||
- [Serge Zaitsev](https://github.com/zserge) - Creator of [Webview](https://github.com/zserge/webview) which Wails uses
|
||||
for the windowing.
|
||||
- [Byron](https://github.com/bh90210) - At times, Byron has single handedly kept this project alive. Without his
|
||||
incredible input, we never would have got to v1.
|
||||
|
||||
This project was mainly coded to the following albums:
|
||||
|
||||
* [Manic Street Preachers - Resistance Is Futile](https://open.spotify.com/album/1R2rsEUqXjIvAbzM0yHrxA)
|
||||
* [Manic Street Preachers - This Is My Truth, Tell Me Yours](https://open.spotify.com/album/4VzCL9kjhgGQeKCiojK1YN)
|
||||
* [The Midnight - Endless Summer](https://open.spotify.com/album/4Krg8zvprquh7TVn9OxZn8)
|
||||
* [Gary Newman - Savage (Songs from a Broken World)](https://open.spotify.com/album/3kMfsD07Q32HRWKRrpcexr)
|
||||
* [Steve Vai - Passion & Warfare](https://open.spotify.com/album/0oL0OhrE2rYVns4IGj8h2m)
|
||||
* [Ben Howard - Every Kingdom](https://open.spotify.com/album/1nJsbWm3Yy2DW1KIc1OKle)
|
||||
* [Ben Howard - Noonday Dream](https://open.spotify.com/album/6astw05cTiXEc2OvyByaPs)
|
||||
* [Adwaith - Melyn](https://open.spotify.com/album/2vBE40Rp60tl7rNqIZjaXM)
|
||||
* [Gwidaith Hen Fran - Cedors Hen Wrach](https://open.spotify.com/album/3v2hrfNGINPLuDP0YDTOjm)
|
||||
* [Metallica - Metallica](https://open.spotify.com/album/2Kh43m04B1UkVcpcRa1Zug)
|
||||
* [Bloc Party - Silent Alarm](https://open.spotify.com/album/6SsIdN05HQg2GwYLfXuzLB)
|
||||
* [Maxthor - Another World](https://open.spotify.com/album/3tklE2Fgw1hCIUstIwPBJF)
|
||||
* [Alun Tan Lan - Y Distawrwydd](https://open.spotify.com/album/0c32OywcLpdJCWWMC6vB8v)
|
||||
- [Manic Street Preachers - Resistance Is Futile](https://open.spotify.com/album/1R2rsEUqXjIvAbzM0yHrxA)
|
||||
- [Manic Street Preachers - This Is My Truth, Tell Me Yours](https://open.spotify.com/album/4VzCL9kjhgGQeKCiojK1YN)
|
||||
- [The Midnight - Endless Summer](https://open.spotify.com/album/4Krg8zvprquh7TVn9OxZn8)
|
||||
- [Gary Newman - Savage (Songs from a Broken World)](https://open.spotify.com/album/3kMfsD07Q32HRWKRrpcexr)
|
||||
- [Steve Vai - Passion & Warfare](https://open.spotify.com/album/0oL0OhrE2rYVns4IGj8h2m)
|
||||
- [Ben Howard - Every Kingdom](https://open.spotify.com/album/1nJsbWm3Yy2DW1KIc1OKle)
|
||||
- [Ben Howard - Noonday Dream](https://open.spotify.com/album/6astw05cTiXEc2OvyByaPs)
|
||||
- [Adwaith - Melyn](https://open.spotify.com/album/2vBE40Rp60tl7rNqIZjaXM)
|
||||
- [Gwidaith Hen Fran - Cedors Hen Wrach](https://open.spotify.com/album/3v2hrfNGINPLuDP0YDTOjm)
|
||||
- [Metallica - Metallica](https://open.spotify.com/album/2Kh43m04B1UkVcpcRa1Zug)
|
||||
- [Bloc Party - Silent Alarm](https://open.spotify.com/album/6SsIdN05HQg2GwYLfXuzLB)
|
||||
- [Maxthor - Another World](https://open.spotify.com/album/3tklE2Fgw1hCIUstIwPBJF)
|
||||
- [Alun Tan Lan - Y Distawrwydd](https://open.spotify.com/album/0c32OywcLpdJCWWMC6vB8v)
|
||||
|
||||
## Licensing
|
||||
|
||||
[](https://app.fossa.io/projects/git%2Bgithub.com%2Fwailsapp%2Fwails?ref=badge_large)
|
||||
<span id="nav-11"></span>
|
||||
|
||||
## Special Thanks
|
||||
|
||||
<p align="center" style="text-align: center">
|
||||
<a href="https://pace.dev"><img src="pace.jpeg"/></a><br/>
|
||||
A *huge* thanks to <a href="https://pace.dev">Pace</a> for sponsoring the project and helping the efforts to get Wails ported to Apple Silicon!<br/><br/>
|
||||
<a href="https://pace.dev"><img src="/assets/images/pace.jpeg"/></a><br/>
|
||||
A <i>huge</i> thanks to <a href="https://pace.dev">Pace</a> for sponsoring the project and helping the efforts to get Wails ported to Apple Silicon!<br/><br/>
|
||||
If you are looking for a Project Management tool that's powerful but quick and easy to use, check them out!<br/><br/>
|
||||
</p>
|
||||
|
||||
<p align="center" style="text-align: center">
|
||||
A special thank you to JetBrains for donating licenses to us!<br/><br/>
|
||||
Please click the logo to let them know your appreciation!<br/><br/>
|
||||
<a href="https://www.jetbrains.com?from=Wails"><img src="jetbrains-grayscale.png" width="30%"></a>
|
||||
<a href="https://www.jetbrains.com?from=Wails"><img src="/assets/images/jetbrains-grayscale.png" width="30%"></a>
|
||||
</p>
|
||||
|
||||
@@ -0,0 +1,403 @@
|
||||
<p align="center" style="text-align: center">
|
||||
<img src="logo.png" width="55%"><br/>
|
||||
</p>
|
||||
<p align="center">
|
||||
使用 Go 和 Web 技术构建桌面应用程序。<br/><br/>
|
||||
<a href="https://github.com/wailsapp/wails/blob/master/LICENSE">
|
||||
<img src="https://img.shields.io/badge/License-MIT-blue.svg">
|
||||
</a>
|
||||
<a href="https://goreportcard.com/report/github.com/wailsapp/wails">
|
||||
<img src="https://goreportcard.com/badge/github.com/wailsapp/wails"/>
|
||||
</a>
|
||||
<a href="http://godoc.org/github.com/wailsapp/wails">
|
||||
<img src="https://img.shields.io/badge/godoc-reference-blue.svg"/>
|
||||
</a>
|
||||
<a href="https://www.codefactor.io/repository/github/wailsapp/wails">
|
||||
<img src="https://www.codefactor.io/repository/github/wailsapp/wails/badge" alt="CodeFactor" />
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/issues">
|
||||
<img src="https://img.shields.io/badge/contributions-welcome-brightgreen.svg?style=flat" alt="CodeFactor" />
|
||||
</a>
|
||||
<a href="https://app.fossa.io/projects/git%2Bgithub.com%2Fwailsapp%2Fwails?ref=badge_shield" alt="FOSSA Status">
|
||||
<img src="https://app.fossa.io/api/projects/git%2Bgithub.com%2Fwailsapp%2Fwails.svg?type=shield"/>
|
||||
</a>
|
||||
<a href="https://houndci.com">
|
||||
<img src="https://img.shields.io/badge/Reviewed_by-Hound-8E64B0.svg"/>
|
||||
</a>
|
||||
<a href="https://github.com/avelino/awesome-go" rel="nofollow">
|
||||
<img src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" alt="Awesome"/>
|
||||
</a>
|
||||
<a href="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" rel="nofollow">
|
||||
<img src="https://github.com/wailsapp/wails/workflows/release/badge.svg?branch=master" alt="Release Pipelines"/>
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<span id="nav-1"></span>
|
||||
|
||||
## 国际化
|
||||
|
||||
[English](README.md) | [简体中文](README.zh-Hans.md)
|
||||
|
||||
<span id="nav-2"></span>
|
||||
|
||||
## 内容目录
|
||||
|
||||
<details>
|
||||
<summary>点我 打开/关闭 目录列表</summary>
|
||||
|
||||
- [1. 国际化](#nav-1)
|
||||
- [2. 内容目录](#nav-2)
|
||||
- [3. 项目介绍](#nav-3)
|
||||
- [3.1 官方网站](#nav-3-1)
|
||||
- [4. 功能](#nav-4)
|
||||
- [5. 赞助商](#nav-5)
|
||||
- [6. 安装](#nav-6)
|
||||
- [6.1 MacOS](#nav-6-1)
|
||||
- [6.2 Linux](#nav-6-2)
|
||||
- [6.2.1 Debian/Ubuntu](#nav-6-2-1)
|
||||
- [6.2.2 Arch Linux / ArchLabs / Ctlos Linux](#nav-6-2-2)
|
||||
- [6.2.3 Centos](#nav-6-2-3)
|
||||
- [6.2.4 Fedora](#nav-6-2-4)
|
||||
- [6.2.5 VoidLinux & VoidLinux-musl](#nav-6-2-5)
|
||||
- [6.2.6 Gentoo](#nav-6-2-6)
|
||||
- [6.3 Windows](#nav-6-3)
|
||||
- [7. 使用方法](#nav-7)
|
||||
- [7.1 下一步](#nav-7-1)
|
||||
- [8. 常见问题](#nav-8)
|
||||
- [9. 贡献者](#nav-9)
|
||||
- [10. 特别提及](#nav-10)
|
||||
- [12. 特别感谢](#nav-11)
|
||||
|
||||
</details>
|
||||
|
||||
<span id="nav-3"></span>
|
||||
|
||||
## 项目介绍
|
||||
|
||||
为 Go 程序提供 Web 界面的传统方法是通过内置 Web 服务器。Wails 提供了一种不同的方法:它提供了将 Go 代码和 Web
|
||||
前端一起打包成单个二进制文件的能力。通过提供的工具,可以很轻松的完成项目的创建、编译和打包。你所要做的就是发挥想象力!
|
||||
|
||||
<span id="nav-3-1"></span>
|
||||
|
||||
### 官方网站
|
||||
|
||||
官方文档可以在 [https://wails.app](https://wails.app) 中找到。
|
||||
|
||||
如果您对适用于 Windows 的 v2 测试版感兴趣,可以点击[此处](https://wails.io)查看。
|
||||
|
||||
镜像网站:
|
||||
|
||||
- [中国大陆镜像站点 - https://wails.top](https://wails.top)
|
||||
|
||||
<span id="nav-4"></span>
|
||||
|
||||
## 功能
|
||||
|
||||
- 后端使用标准 Go
|
||||
- 使用任意前端技术构建 UI 界面
|
||||
- 快速为您的 Go 应用生成 Vue、Vuetify、React 前端代码
|
||||
- 通过简单的绑定命令将 Go 方法暴露到前端
|
||||
- 使用原生渲染引擎 - 无嵌入式浏览器
|
||||
- 共享事件系统
|
||||
- 原生文件系统对话框
|
||||
- 强大的命令行工具
|
||||
- 跨多个平台
|
||||
|
||||
<span id="nav-5"></span>
|
||||
|
||||
## 赞助商
|
||||
|
||||
这个项目由以下这些人或者公司支持:
|
||||
|
||||
<p align="center">
|
||||
<a href="https://www.easywebadv.it/" style="width:100px;">
|
||||
<img src="website/static/img/easyweb.png" width="100"/>
|
||||
</a>
|
||||
</p>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="sponsors/silver%20sponsor.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/letheanVPN" style="width:100px;">
|
||||
<img src="https://github.com/letheanVPN.png?size=100" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/sponsors/leaanthony" style="width:100px;">
|
||||
<img src="sponsors/bronze%20sponsor.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/snider" style="width:100px;">
|
||||
<img src="https://github.com/snider.png?size=100" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/codydbentley" style="width:100px">
|
||||
<img src="https://github.com/codydbentley.png?size=100" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/CrackDavid" style="width:100px">
|
||||
<img src="https://github.com/CrackDavid.png?size=100" width="100"/>
|
||||
</a>
|
||||
<br/>
|
||||
<br/>
|
||||
<a href="https://github.com/matryer" style="width:100px">
|
||||
<img src="https://github.com/matryer.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://www.jetbrains.com?from=Wails" style="width:100px">
|
||||
<img src="/assets/images/jetbrains-grayscale.png" width="100"/>
|
||||
</a>
|
||||
<a href="https://github.com/tc-hib" style="width:55px">
|
||||
<img src="https://github.com/tc-hib.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/picatz" style="width:50px">
|
||||
<img src="https://github.com/picatz.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/tylertravisty" style="width:50px">
|
||||
<img src="https://github.com/tylertravisty.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/akhudek" style="width:50px">
|
||||
<img src="https://github.com/akhudek.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/trea" style="width:50px">
|
||||
<img src="https://github.com/trea.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/LanguageAgnostic" style="width:55px">
|
||||
<img src="https://github.com/LanguageAgnostic.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/fcjr" style="width:55px">
|
||||
<img src="https://github.com/fcjr.png?size=55" width="55"/>
|
||||
</a>
|
||||
<a href="https://github.com/nickarellano" style="width:60px">
|
||||
<img src="https://github.com/nickarellano.png?size=60" width="60"/>
|
||||
</a>
|
||||
<a href="https://github.com/bglw" style="width:65px">
|
||||
<img src="https://github.com/bglw.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/jugglingjsons" style="width:50px">
|
||||
<img src="https://github.com/jugglingjsons.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/marcus-crane" style="width:65px">
|
||||
<img src="https://github.com/marcus-crane.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/bbergshaven" style="width:45px">
|
||||
<img src="https://github.com/bbergshaven.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/Gilgames000" style="width:45px">
|
||||
<img src="https://github.com/Gilgames000.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/ilgityildirim" style="width:50px">
|
||||
<img src="https://github.com/ilgityildirim.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/ondoki" style="width:65px">
|
||||
<img src="https://github.com/ondoki.png?size=65" width="65"/>
|
||||
</a>
|
||||
<a href="https://github.com/questrail" style="width:50px">
|
||||
<img src="https://github.com/questrail.png?size=50" width="50"/>
|
||||
</a>
|
||||
<a href="https://github.com/DonTomato" style="width:45px">
|
||||
<img src="https://github.com/DonTomato.png?size=45" width="45"/>
|
||||
</a>
|
||||
<a href="https://github.com/taigrr" style="width:45px">
|
||||
<img src="https://github.com/taigrr.png?size=45" width="45"/>
|
||||
</a>
|
||||
|
||||
<span id="nav-6"></span>
|
||||
|
||||
## 安装
|
||||
|
||||
Wails 使用 cgo 与原生渲染引擎结合,因此需要依赖一些平台的库以及 Go 的安装。基本要求是:
|
||||
|
||||
- Go 1.16
|
||||
- npm
|
||||
|
||||
<span id="nav-6-1"></span>
|
||||
|
||||
### MacOS
|
||||
|
||||
请确保已安装 xcode 命令行工具。这可以通过运行下面的命令来完成:
|
||||
|
||||
`xcode-select --install`
|
||||
|
||||
<span id="nav-6-2"></span>
|
||||
|
||||
### Linux
|
||||
|
||||
<span id="nav-6-2-1"></span>
|
||||
|
||||
#### Debian/Ubuntu
|
||||
|
||||
`sudo apt install libgtk-3-dev libwebkit2gtk-4.0-dev`
|
||||
|
||||
_Debian: 8, 9, 10_
|
||||
|
||||
_Ubuntu: 16.04, 18.04, 19.04_
|
||||
|
||||
_也成功测试了: Zorin 15, Parrot 4.7, Linuxmint 19, Elementary 5, Kali, Neon_, Pop!\_OS
|
||||
|
||||
<span id="nav-6-2-2"></span>
|
||||
|
||||
#### Arch Linux / ArchLabs / Ctlos Linux
|
||||
|
||||
`sudo pacman -S webkit2gtk gtk3`
|
||||
|
||||
_也成功测试了: Manjaro & ArcoLinux_
|
||||
|
||||
<span id="nav-6-2-3"></span>
|
||||
|
||||
#### Centos
|
||||
|
||||
`sudo yum install webkitgtk3-devel gtk3-devel`
|
||||
|
||||
_CentOS 6, 7_
|
||||
|
||||
<span id="nav-6-2-4"></span>
|
||||
|
||||
#### Fedora
|
||||
|
||||
`sudo yum install webkit2gtk3-devel gtk3-devel`
|
||||
|
||||
_Fedora 29, 30_
|
||||
|
||||
<span id="nav-6-2-5"></span>
|
||||
|
||||
#### VoidLinux & VoidLinux-musl
|
||||
|
||||
`xbps-install gtk+3-devel webkit2gtk-devel`
|
||||
|
||||
<span id="nav-6-2-6"></span>
|
||||
|
||||
#### Gentoo
|
||||
|
||||
`sudo emerge gtk+:3 webkit-gtk`
|
||||
|
||||
<span id="nav-6-3"></span>
|
||||
|
||||
### Windows
|
||||
|
||||
Windows 需要 GCC 和相关工具。 建议从 [http://tdm-gcc.tdragon.net/download](http://tdm-gcc.tdragon.net/download) 下载, 安装完成,您就可以开始了。
|
||||
|
||||
<span id="nav-7"></span>
|
||||
|
||||
## 使用方法
|
||||
|
||||
**确保 Go modules 是开启的:GO111MODULE=on 并且 go/bin 在您的 PATH 变量中。**
|
||||
|
||||
安装很简单,运行以下命令:
|
||||
|
||||
```
|
||||
go get -u github.com/wailsapp/wails/cmd/wails
|
||||
```
|
||||
|
||||
<span id="nav-7-1"></span>
|
||||
|
||||
### 下一步
|
||||
|
||||
建议在此时阅读 [https://wails.app](https://wails.app) 上面的文档.
|
||||
|
||||
<span id="nav-8"></span>
|
||||
|
||||
## 常见问题
|
||||
|
||||
- 它是 Electron 的替代品吗?
|
||||
|
||||
取决于您的要求。它旨在使 Go 程序员可以轻松制作轻量级桌面应用程序或在其现有应用程序中添加前端。尽管 Wails 当前不提供对诸如菜单之类的原生元素的钩子,但将来可能会改变。
|
||||
|
||||
- 这个项目针对的是哪些人?
|
||||
|
||||
希望将 HTML / JS / CSS 前端与其应用程序捆绑在一起的程序员,而不是借助创建服务并打开浏览器进行查看的方式。
|
||||
|
||||
- 名字怎么来的?
|
||||
|
||||
当我看到 WebView 时,我想"我真正想要的是围绕构建 WebView 应用程序工作,有点像 Rails 对于 Ruby"。因此,最初它是一个文字游戏(Webview on
|
||||
Rails)。碰巧也是我来自的 [国家](https://en.wikipedia.org/wiki/Wales) 的英文名字的同音。所以就是它了。
|
||||
|
||||
<span id="nav-9"></span>
|
||||
|
||||
## 贡献者
|
||||
|
||||
<a href="https://github.com/qaisjp"><img src="https://github.com/qaisjp.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/alee792"><img src="https://github.com/alee792.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/lanzafame"><img src="https://github.com/lanzafame.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/mattn"><img src="https://github.com/mattn.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/0xflotus"><img src="https://github.com/0xflotus.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/mdhender"><img src="https://github.com/mdhender.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/fishfishfish2104"><img src="https://github.com/fishfishfish2104.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/intelwalk"><img src="https://github.com/intelwalk.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/ocelotsloth"><img src="https://github.com/ocelotsloth.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/bh90210"><img src="https://github.com/bh90210.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/iceleo-com"><img src="https://github.com/iceleo-com.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/fallendusk"><img src="https://github.com/fallendusk.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/Chronophylos"><img src="https://github.com/Chronophylos.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/Vaelatern"><img src="https://github.com/Vaelatern.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/mewmew"><img src="https://github.com/mewmew.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/kraney"><img src="https://github.com/kraney.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/JackMordaunt"><img src="https://github.com/JackMordaunt.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/MichaelHipp"><img src="https://github.com/MichaelHipp.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/tmclane"><img src="https://github.com/tmclane.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/Rested"><img src="https://github.com/Rested.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/Jarek-SRT"><img src="https://github.com/Jarek-SRT.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/konez2k"><img src="https://github.com/konez2k.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/sayuthisobri"><img src="https://github.com/sayuthisobri.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/dedo1911"><img src="https://github.com/dedo1911.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/fdidron"><img src="https://github.com/fdidron.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/Splode"><img src="https://github.com/Splode.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/Lyimmi"><img src="https://github.com/Lyimmi.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/Unix4ever"><img src="https://github.com/Unix4ever.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/timkippdev"><img src="https://github.com/timkippdev.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/kyoto44"><img src="https://github.com/kyoto44.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/artooro"><img src="https://github.com/artooro.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/ilgityildirim"><img src="https://github.com/ilgityildirim.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/gelleson"><img src="https://github.com/gelleson.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/kmuchmore"><img src="https://github.com/kmuchmore.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/aayush420"><img src="https://github.com/aayush420.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/Rezrazi"><img src="https://github.com/Rezrazi.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/misitebao"><img src="https://github.com/misitebao.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/DrunkenPoney"><img src="https://github.com/DrunkenPoney.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/SophieAu"><img src="https://github.com/SophieAu.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/alexmat"><img src="https://github.com/alexmat.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/RH12503"><img src="https://github.com/RH12503.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/hi019"><img src="https://github.com/hi019.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/Igogrek"><img src="https://github.com/Igogrek.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/aschey"><img src="https://github.com/aschey.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/akhudek"><img src="https://github.com/akhudek.png?size=40" width="40"/></a>
|
||||
<a href="https://github.com/s12chung"><img src="https://github.com/s12chung.png?size=40" width="40"/></a>
|
||||
|
||||
<span id="nav-10"></span>
|
||||
|
||||
## 特别提及
|
||||
|
||||
如果没有以下人员,此项目或许永远不会存在:
|
||||
|
||||
- [Dustin Krysak](https://wiki.ubuntu.com/bashfulrobot) - 他的支持和反馈是巨大的。
|
||||
- [Serge Zaitsev](https://github.com/zserge) - Wails 窗口所使用的 [Webview](https://github.com/zserge/webview) 的作者。
|
||||
- [Byron](https://github.com/bh90210) - 有时,Byron 一个人保持这个项目活跃着。没有他令人难以置信的投入,我们永远不会得到 v1 。
|
||||
|
||||
编写项目代码时伴随着以下专辑:
|
||||
|
||||
- [Manic Street Preachers - Resistance Is Futile](https://open.spotify.com/album/1R2rsEUqXjIvAbzM0yHrxA)
|
||||
- [Manic Street Preachers - This Is My Truth, Tell Me Yours](https://open.spotify.com/album/4VzCL9kjhgGQeKCiojK1YN)
|
||||
- [The Midnight - Endless Summer](https://open.spotify.com/album/4Krg8zvprquh7TVn9OxZn8)
|
||||
- [Gary Newman - Savage (Songs from a Broken World)](https://open.spotify.com/album/3kMfsD07Q32HRWKRrpcexr)
|
||||
- [Steve Vai - Passion & Warfare](https://open.spotify.com/album/0oL0OhrE2rYVns4IGj8h2m)
|
||||
- [Ben Howard - Every Kingdom](https://open.spotify.com/album/1nJsbWm3Yy2DW1KIc1OKle)
|
||||
- [Ben Howard - Noonday Dream](https://open.spotify.com/album/6astw05cTiXEc2OvyByaPs)
|
||||
- [Adwaith - Melyn](https://open.spotify.com/album/2vBE40Rp60tl7rNqIZjaXM)
|
||||
- [Gwidaith Hen Fran - Cedors Hen Wrach](https://open.spotify.com/album/3v2hrfNGINPLuDP0YDTOjm)
|
||||
- [Metallica - Metallica](https://open.spotify.com/album/2Kh43m04B1UkVcpcRa1Zug)
|
||||
- [Bloc Party - Silent Alarm](https://open.spotify.com/album/6SsIdN05HQg2GwYLfXuzLB)
|
||||
- [Maxthor - Another World](https://open.spotify.com/album/3tklE2Fgw1hCIUstIwPBJF)
|
||||
- [Alun Tan Lan - Y Distawrwydd](https://open.spotify.com/album/0c32OywcLpdJCWWMC6vB8v)
|
||||
|
||||
<span id="nav-11"></span>
|
||||
|
||||
## 特别感谢
|
||||
|
||||
<p align="center" style="text-align: center">
|
||||
<a href="https://pace.dev"><img src="/assets/images/pace.jpeg"/></a><br/>
|
||||
<i>非常</i> 感谢<a href="https://pace.dev">Pace</a>对项目的赞助,并帮助将 Wails 移植到 Apple Silicon !<br/><br/>
|
||||
如果您正在寻找一个强大并且快速和易于使用的项目管理工具,可以看看他们!<br/><br/>
|
||||
</p>
|
||||
|
||||
<p align="center" style="text-align: center">
|
||||
特别感谢 JetBrains 向我们捐赠许可!<br/><br/>
|
||||
请点击 logo 让他们知道你的感激之情!<br/><br/>
|
||||
<a href="https://www.jetbrains.com?from=Wails"><img src="/assets/images/jetbrains-grayscale.png" width="30%"></a>
|
||||
</p>
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build linux || darwin || !windows
|
||||
// +build linux darwin !windows
|
||||
|
||||
package wails
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
//go:build windows || !linux || !darwin
|
||||
// +build windows !linux !darwin
|
||||
|
||||
package wails
|
||||
|
||||
|
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 103 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 34 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
@@ -6,7 +6,6 @@ import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io"
|
||||
"io/ioutil"
|
||||
"log"
|
||||
"os"
|
||||
"path"
|
||||
@@ -50,7 +49,7 @@ func (fs *FSHelper) FileExists(path string) bool {
|
||||
|
||||
// FindFile returns the first occurrence of match inside path.
|
||||
func (fs *FSHelper) FindFile(path, match string) (string, error) {
|
||||
files, err := ioutil.ReadDir(path)
|
||||
files, err := os.ReadDir(path)
|
||||
if err != nil {
|
||||
return "", err
|
||||
}
|
||||
@@ -69,7 +68,7 @@ func (fs *FSHelper) FindFile(path, match string) (string, error) {
|
||||
func (fs *FSHelper) CreateFile(filename string, data []byte) error {
|
||||
// Ensure directory exists
|
||||
fs.MkDirs(filepath.Dir(filename))
|
||||
return ioutil.WriteFile(filename, data, 0644)
|
||||
return os.WriteFile(filename, data, 0644)
|
||||
}
|
||||
|
||||
// MkDirs creates the given nested directories.
|
||||
@@ -156,14 +155,14 @@ func (fs *FSHelper) LoadRelativeFile(relativePath string) ([]byte, error) {
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
return ioutil.ReadFile(fullPath)
|
||||
return os.ReadFile(fullPath)
|
||||
}
|
||||
|
||||
// GetSubdirs will return a list of FQPs to subdirectories in the given directory
|
||||
func (d *Dir) GetSubdirs() (map[string]string, error) {
|
||||
|
||||
// Read in the directory information
|
||||
fileInfo, err := ioutil.ReadDir(d.fullPath)
|
||||
fileInfo, err := os.ReadDir(d.fullPath)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -215,7 +214,7 @@ func (fs *FSHelper) SaveAsJSON(data interface{}, filename string) error {
|
||||
e.SetIndent("", " ")
|
||||
e.Encode(data)
|
||||
|
||||
err := ioutil.WriteFile(filename, buf.Bytes(), 0755)
|
||||
err := os.WriteFile(filename, buf.Bytes(), 0755)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -231,7 +230,7 @@ func (fs *FSHelper) LoadAsString(filename string) (string, error) {
|
||||
|
||||
// LoadAsBytes returns the contents of the file as a byte slice
|
||||
func (fs *FSHelper) LoadAsBytes(filename string) ([]byte, error) {
|
||||
return ioutil.ReadFile(filename)
|
||||
return os.ReadFile(filename)
|
||||
}
|
||||
|
||||
// FileMD5 returns the md5sum of the given file
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ package cmd
|
||||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"io/ioutil"
|
||||
"io"
|
||||
"net/http"
|
||||
"sort"
|
||||
)
|
||||
@@ -28,7 +28,7 @@ func (g *GitHubHelper) GetVersionTags() ([]*SemanticVersion, error) {
|
||||
if err != nil {
|
||||
return result, err
|
||||
}
|
||||
body, err := ioutil.ReadAll(resp.Body)
|
||||
body, err := io.ReadAll(resp.Body)
|
||||
if err != nil {
|
||||
return result, err
|
||||
}
|
||||
|
||||
+18
-3
@@ -109,8 +109,8 @@ func BuildDocker(binaryName string, buildMode string, projectOptions *ProjectOpt
|
||||
|
||||
buildCommand := slicer.String()
|
||||
userid := 1000
|
||||
user, _ := user.Current()
|
||||
if i, err := strconv.Atoi(user.Uid); err == nil {
|
||||
currentUser, _ := user.Current()
|
||||
if i, err := strconv.Atoi(currentUser.Uid); err == nil {
|
||||
userid = i
|
||||
}
|
||||
for _, arg := range []string{
|
||||
@@ -475,7 +475,22 @@ func ServeProject(projectOptions *ProjectOptions, logger *Logger) error {
|
||||
}
|
||||
|
||||
logger.Yellow("Serving Application: " + location)
|
||||
cmd := exec.Command(location)
|
||||
var args []string
|
||||
if len(os.Args) > 2 {
|
||||
foundArgSep := false
|
||||
for index, arg := range os.Args[2:] {
|
||||
if arg == "--" {
|
||||
foundArgSep = true
|
||||
continue
|
||||
}
|
||||
if foundArgSep {
|
||||
args = os.Args[index:]
|
||||
break
|
||||
}
|
||||
}
|
||||
logger.Yellow("Passing arguments: %+v", args)
|
||||
}
|
||||
cmd := exec.Command(location, args...)
|
||||
cmd.Stdout = os.Stdout
|
||||
cmd.Stderr = os.Stderr
|
||||
err = cmd.Run()
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user