diff --git a/CSharp/Content/UniversalEditor.Content.Linux/Properties/AssemblyInfo.cs b/CSharp/Content/UniversalEditor.Content.Linux/Properties/AssemblyInfo.cs new file mode 100644 index 00000000..a7a7fc08 --- /dev/null +++ b/CSharp/Content/UniversalEditor.Content.Linux/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Universal Editor Linux-Specific Content")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("Mike Becker's Software")] +[assembly: AssemblyProduct("Universal Editor")] +[assembly: AssemblyCopyright("Copyright © 2014-2019 Mike Becker's Software")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("f06910f7-0c0e-41ec-b0b2-cb7ef1d18d8e")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/CSharp/Content/UniversalEditor.Content.Linux/UniversalEditor.Content.Linux.csproj b/CSharp/Content/UniversalEditor.Content.Linux/UniversalEditor.Content.Linux.csproj new file mode 100644 index 00000000..7770c8ad --- /dev/null +++ b/CSharp/Content/UniversalEditor.Content.Linux/UniversalEditor.Content.Linux.csproj @@ -0,0 +1,72 @@ + + + + + Debug + AnyCPU + {90945326-FA6C-4A3E-90B9-5E29D7F85DF8} + Library + Properties + UniversalEditor.Content.PlatformIndependent + UniversalEditor.Content.PlatformIndependent + v4.0 + 512 + + true + ..\..\..\..\MichaelBecker.snk + 4.0.2019.12 + + + true + full + false + ..\..\Output\Debug\ + DEBUG;TRACE + prompt + 4 + false + + + pdbonly + true + ..\..\Output\Release\ + TRACE + prompt + 4 + + + + + + + Linux.DesktopApplications + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/CSharp/Content/UniversalEditor.Content.Linux/usr/share/applications/universal-editor.desktop b/CSharp/Content/UniversalEditor.Content.Linux/usr/share/applications/universal-editor.desktop new file mode 100644 index 00000000..7a25c8af --- /dev/null +++ b/CSharp/Content/UniversalEditor.Content.Linux/usr/share/applications/universal-editor.desktop @@ -0,0 +1,28 @@ +[Desktop Entry] +Version=1.0 +Name=Universal Editor +GenericName=Modular Document Editor +Comment=Create, open, edit, and save just about any type of file +Exec=universal-editor %u +Terminal=false +X-MultipleArgs=false +Type=Application +Icon=universal-editor +Categories=Graphics; +MimeType=text/plain;text/x-csharp;application/x-mds;application/x-mdp;application/x-cmbx;application/x-prjx;application/x-csproj;application/x-vbproj;application/x-sln;application/x-aspx;image/jpeg;image/jpg;image/pjpeg;image/png;image/tiff;image/x-3fr;image/x-adobe-dng;image/x-arw;image/x-bay;image/x-bmp;image/x-canon-cr2;image/x-canon-crw;image/x-cap;image/x-cr2;image/x-crw;image/x-dcr;image/x-dcraw;image/x-dcs;image/x-dng;image/x-drf;image/x-eip;image/x-erf;image/x-fff;image/x-fuji-raf;image/x-iiq;image/x-k25;image/x-kdc;image/x-mef;image/x-minolta-mrw;image/x-mos;image/x-mrw;image/x-nef;image/x-nikon-nef;image/x-nrw;image/x-olympus-orf;image/x-orf;image/x-panasonic-raw;image/x-pef;image/x-pentax-pef;image/x-png;image/x-ptx;image/x-pxn;image/x-r3d;image/x-raf;image/x-raw;image/x-rw2;image/x-rwl;image/x-rwz;image/x-sigma-x3f;image/x-sony-arw;image/x-sony-sr2;image/x-sony-srf;image/x-sr2;image/x-srf;image/x-x3f;application/x-cri-cpk;application/x-cri-afs;application/x-cri-afs2;application/x-cri-utf;application/x-newworldcomputing-agg +StartupNotify=true +StartupWMClass=UniversalEditor.exe +Actions=new-document;new-project;open-document;open-project + +[Desktop Action new-document] +Name=Create a New Document +Exec=universal-editor --command FileNewDocument +[Desktop Action new-project] +Name=Create a New Project +Exec=universal-editor --command FileNewProject +[Desktop Action open-document] +Name=Open an Existing Document +Exec=universal-editor --command FileOpenDocument +[Desktop Action open-project] +Name=Open an Existing Project +Exec=universal-editor --command FileOpenProject diff --git a/CSharp/Content/UniversalEditor.Content.Linux/usr/share/mime/packages/universaleditor-cri.xml b/CSharp/Content/UniversalEditor.Content.Linux/usr/share/mime/packages/universaleditor-cri.xml new file mode 100644 index 00000000..fc04fa78 --- /dev/null +++ b/CSharp/Content/UniversalEditor.Content.Linux/usr/share/mime/packages/universaleditor-cri.xml @@ -0,0 +1,27 @@ + + + + CRI Middleware FileMajik CPK archive + + + + + + CRI Middleware FileMajik AFS archive + + + + + + CRI Middleware FileMajik AWB/ACB archive + + + + + + CRI Middleware UTF database + + + + + diff --git a/CSharp/Content/UniversalEditor.Content.Linux/usr/share/mime/packages/universaleditor-newworldcomputing.xml b/CSharp/Content/UniversalEditor.Content.Linux/usr/share/mime/packages/universaleditor-newworldcomputing.xml new file mode 100644 index 00000000..4ffddf8f --- /dev/null +++ b/CSharp/Content/UniversalEditor.Content.Linux/usr/share/mime/packages/universaleditor-newworldcomputing.xml @@ -0,0 +1,9 @@ + + + + New World Computing AGG archive + + + + + diff --git a/CSharp/Content/UniversalEditor.Content.Linux/usr/share/mime/packages/universaleditor-sega.xml b/CSharp/Content/UniversalEditor.Content.Linux/usr/share/mime/packages/universaleditor-sega.xml new file mode 100644 index 00000000..ef67e9e8 --- /dev/null +++ b/CSharp/Content/UniversalEditor.Content.Linux/usr/share/mime/packages/universaleditor-sega.xml @@ -0,0 +1,9 @@ + + + + SEGA FARC archive + + + + + diff --git a/CSharp/UniversalEditor.sln b/CSharp/UniversalEditor.sln index c27d4819..f6d563c4 100644 --- a/CSharp/UniversalEditor.sln +++ b/CSharp/UniversalEditor.sln @@ -157,6 +157,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Plugins.Mul EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MBS.Framework.Rendering.Engines.OpenGL", "..\..\MBS.Framework.Rendering\Engines\OpenGL\MBS.Framework.Rendering.Engines.OpenGL\MBS.Framework.Rendering.Engines.OpenGL.csproj", "{42DDB1E3-20A2-47F8-9AED-ABAAFA6F3C4D}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UniversalEditor.Content.Linux", "Content\UniversalEditor.Content.Linux\UniversalEditor.Content.Linux.csproj", "{90945326-FA6C-4A3E-90B9-5E29D7F85DF8}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU @@ -453,6 +455,10 @@ Global {42DDB1E3-20A2-47F8-9AED-ABAAFA6F3C4D}.Debug|Any CPU.Build.0 = Debug|Any CPU {42DDB1E3-20A2-47F8-9AED-ABAAFA6F3C4D}.Release|Any CPU.ActiveCfg = Release|Any CPU {42DDB1E3-20A2-47F8-9AED-ABAAFA6F3C4D}.Release|Any CPU.Build.0 = Release|Any CPU + {90945326-FA6C-4A3E-90B9-5E29D7F85DF8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {90945326-FA6C-4A3E-90B9-5E29D7F85DF8}.Debug|Any CPU.Build.0 = Debug|Any CPU + {90945326-FA6C-4A3E-90B9-5E29D7F85DF8}.Release|Any CPU.ActiveCfg = Release|Any CPU + {90945326-FA6C-4A3E-90B9-5E29D7F85DF8}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(NestedProjects) = preSolution {6F0AB1AF-E1A1-4D19-B19C-05BBB15C94B2} = {05D15661-E684-4EC9-8FBD-C014BA433CC5} @@ -526,6 +532,7 @@ Global {2A0B4A53-8A3A-478D-80A7-B6FF20B38317} = {20F315E0-52AE-479F-AF43-3402482C1FC8} {D18D3E15-6913-4A91-A412-5B1E9BF92487} = {7B535D74-5496-4802-B809-89ED88274A91} {42DDB1E3-20A2-47F8-9AED-ABAAFA6F3C4D} = {20F315E0-52AE-479F-AF43-3402482C1FC8} + {90945326-FA6C-4A3E-90B9-5E29D7F85DF8} = {4BC75679-085E-45DA-B00A-D9BA89D8748A} EndGlobalSection GlobalSection(MonoDevelopProperties) = preSolution Policies = $0