Improve namespace and assmebly names.

This commit is contained in:
2025-08-17 05:35:47 +02:00
parent d7d3738801
commit f4aa8e7075
5 changed files with 13 additions and 13 deletions

View File

@@ -1,7 +1,7 @@
using System; using System;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
namespace NativeFileDialogSharp.Native namespace NativeFileDialog.Native
{ {
public struct nfdpathset_t public struct nfdpathset_t
{ {

View File

@@ -3,9 +3,9 @@ using System.Collections.Generic;
using System.Diagnostics; using System.Diagnostics;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Text; using System.Text;
using NativeFileDialogSharp.Native; using NativeFileDialog.Native;
namespace NativeFileDialogSharp namespace NativeFileDialog
{ {
public static class Dialog public static class Dialog
{ {
@@ -18,7 +18,7 @@ namespace NativeFileDialogSharp
try try
{ {
// we call a function that does nothing just to test if we can load it properly // we call a function that does nothing just to test if we can load it properly
NativeFileDialogSharp.Native.NativeFunctions.NFD_Dummy(); NativeFileDialog.Native.NativeFunctions.NFD_Dummy();
return false; return false;
} }
catch catch
@@ -26,7 +26,7 @@ namespace NativeFileDialogSharp
// a call to a default library failed, let's attempt the other one // a call to a default library failed, let's attempt the other one
try try
{ {
NativeFileDialogSharp.Native.NativeFunctions32.NFD_Dummy(); NativeFileDialog.Native.NativeFunctions32.NFD_Dummy();
return true; return true;
} }
catch catch

View File

@@ -1,6 +1,6 @@
{ {
"name": "NativeFileDialogSharp", "name": "Shazbot.NativeFileDialog",
"rootNamespace": "NativeFileDialogSharp", "rootNamespace": "NativeFileDialog",
"references": [], "references": [],
"includePlatforms": [ "includePlatforms": [
"Editor", "Editor",

View File

@@ -1,6 +1,6 @@
{ {
"name": "ru.shazbot.nativefiledialog", "name": "ru.shazbot.nativefiledialog",
"version": "1.0.0", "version": "1.0.1",
"displayName": "Native File Dialog", "displayName": "Native File Dialog",
"description": "Based on https://github.com/milleniumbug/NativeFileDialogSharp", "description": "Based on https://github.com/milleniumbug/NativeFileDialogSharp",
"licensesUrl": "https://git.well-placed.de/InnoLab/NativeFileDialogPackage/src/LICENSE.md", "licensesUrl": "https://git.well-placed.de/InnoLab/NativeFileDialogPackage/src/LICENSE.md",